Skip to content

Commit

Permalink
Follow 3xx responses when downloading launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Lucas committed Jul 29, 2015
1 parent 38ef80d commit fd27962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ download_url () {

mkdir -p "${jar%/*}" && {
if which curl >/dev/null; then
curl --fail --silent "$url" --output "$jar"
curl --fail --silent --location "$url" --output "$jar"
elif which wget >/dev/null; then
wget --quiet -O "$jar" "$url"
fi
Expand Down

0 comments on commit fd27962

Please sign in to comment.