Fix CI curl calls

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

See gh-15158
pull/16246/head
Phillip Webb 6 years ago
parent 8f341fa61d
commit 8fcad7bb53

@ -39,7 +39,7 @@ case "$1" in
esac
mkdir -p /opt/openjdk
cd /opt/openjdk
curl ${JDK_URL} | tar zx --strip-components={JDK_STRIP}
curl -L ${JDK_URL} | tar zx --strip-components=${JDK_STRIP}
###########################################################

Loading…
Cancel
Save