Skip to content

Commit 8fcad7b

Browse files
committed
Fix CI curl calls
Fix `curl` to follow redirects and use the correct `strip` variable. See gh-15158
1 parent 8f341fa commit 8fcad7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/images/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ case "$1" in
3939
esac
4040
mkdir -p /opt/openjdk
4141
cd /opt/openjdk
42-
curl ${JDK_URL} | tar zx --strip-components={JDK_STRIP}
42+
curl -L ${JDK_URL} | tar zx --strip-components=${JDK_STRIP}
4343

4444

4545
###########################################################

0 commit comments

Comments
 (0)