We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e02a2da + 0896c29 commit d4deb27Copy full SHA for d4deb27
tools/binary-repo-lib.sh
@@ -55,7 +55,7 @@ curlDownload() {
55
if [[ "$OSTYPE" == *Cygwin* || "$OSTYPE" == *cygwin* ]]; then
56
jar=$(cygpath -m $1)
57
fi
58
- 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")
59
if (( $? != 0 )); then
60
echo "Error downloading $jar: response code: $http_code"
61
echo "$url"
0 commit comments