mirror of https://github.com/sbt/sbt.git
Corrects the command line for wget.
Without this, wget deposits the launcher in the working directory and pipes zero bytes to the intended location.
This commit is contained in:
parent
9a42fb6f8f
commit
c4249308e3
2
sbt
2
sbt
|
|
@ -176,7 +176,7 @@ download_url () {
|
||||||
if which curl >/dev/null; then
|
if which curl >/dev/null; then
|
||||||
curl --silent "$url" --output "$jar"
|
curl --silent "$url" --output "$jar"
|
||||||
elif which wget >/dev/null; then
|
elif which wget >/dev/null; then
|
||||||
wget --quiet "$url" > "$jar"
|
wget --quiet -O "$jar" "$url"
|
||||||
fi
|
fi
|
||||||
} && [[ -f "$jar" ]]
|
} && [[ -f "$jar" ]]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue