From eb88343fb763ee89010b7a9879638152decc6892 Mon Sep 17 00:00:00 2001 From: SendaoYan Date: Mon, 29 Apr 2024 17:50:39 +0000 Subject: [PATCH] 8331164: createJMHBundle.sh download jars fail when url needed to be redirected Reviewed-by: erikj, shade --- make/devkit/createJMHBundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/devkit/createJMHBundle.sh b/make/devkit/createJMHBundle.sh index b2b10769d15..889b7f914a4 100644 --- a/make/devkit/createJMHBundle.sh +++ b/make/devkit/createJMHBundle.sh @@ -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