Commit 8fcad7bb authored by Phillip Webb's avatar Phillip Webb

Fix CI curl calls

Fix `curl` to follow redirects and use the correct `strip` variable.

See gh-15158
parent 8f341fa6
...@@ -39,7 +39,7 @@ case "$1" in ...@@ -39,7 +39,7 @@ case "$1" in
esac esac
mkdir -p /opt/openjdk mkdir -p /opt/openjdk
cd /opt/openjdk cd /opt/openjdk
curl ${JDK_URL} | tar zx --strip-components={JDK_STRIP} curl -L ${JDK_URL} | tar zx --strip-components=${JDK_STRIP}
########################################################### ###########################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment