Skip to content

Commit d4deb27

Browse files
committed
Merge pull request scala#4494 from retronym/backport/bintray
Backport bintray migration fix
2 parents e02a2da + 0896c29 commit d4deb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/binary-repo-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ curlDownload() {
5555
if [[ "$OSTYPE" == *Cygwin* || "$OSTYPE" == *cygwin* ]]; then
5656
jar=$(cygpath -m $1)
5757
fi
58-
http_code=$(curl --write-out '%{http_code}' --silent --fail --output "$jar" "$url")
58+
http_code=$(curl --write-out '%{http_code}' --silent --fail -L --output "$jar" "$url")
5959
if (( $? != 0 )); then
6060
echo "Error downloading $jar: response code: $http_code"
6161
echo "$url"

0 commit comments

Comments
 (0)