diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-05-02 17:39:22 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-05-02 17:39:22 +0200 |
commit | 454a1dcf0c3568ea99f669529b4819782b8b2f00 (patch) | |
tree | 65b79896d25b70c4bd9a4ea688791fda0ca052c1 /tools | |
parent | eb41712a87ca630ad4f39d2d8809c68b86cb2cdb (diff) | |
parent | c75547f342e7795e9cd7d23d5d6c4c44c179d21b (diff) | |
download | scala-454a1dcf0c3568ea99f669529b4819782b8b2f00.tar.gz scala-454a1dcf0c3568ea99f669529b4819782b8b2f00.tar.bz2 scala-454a1dcf0c3568ea99f669529b4819782b8b2f00.zip |
Merge pull request #4485 from retronym/topic/pull-libs-redirect
Follow HTTP redirects when downloading bootstrap binaries
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/binary-repo-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binary-repo-lib.sh b/tools/binary-repo-lib.sh index 437c0a0c08..84245ca54e 100755 --- a/tools/binary-repo-lib.sh +++ b/tools/binary-repo-lib.sh @@ -56,7 +56,7 @@ curlDownload() { if [[ "$OSTYPE" == *Cygwin* || "$OSTYPE" == *cygwin* ]]; then jar=$(cygpath -m $1) fi - http_code=$(curl --write-out '%{http_code}' --silent --fail --output "$jar" "$url") + http_code=$(curl --write-out '%{http_code}' --silent --fail -L --output "$jar" "$url") if (( $? != 0 )); then echo "Error downloading $jar: response code: $http_code" echo "$url" |