8331164: createJMHBundle.sh download jars fail when url needed to be redirected
Reviewed-by: erikj, shade
This commit is contained in:
parent
9b423a8509
commit
eb88343fb7
@ -44,7 +44,7 @@ rm -f *
|
||||
fetchJar() {
|
||||
url="${MAVEN_MIRROR}/$1/$2/$3/$2-$3.jar"
|
||||
if command -v curl > /dev/null; then
|
||||
curl -O --fail $url
|
||||
curl -OL --fail $url
|
||||
elif command -v wget > /dev/null; then
|
||||
wget $url
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user