Fix CI curl calls

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

See gh-15158
This commit is contained in:
Phillip Webb 2018-11-12 22:23:34 -08:00
parent 8f341fa61d
commit 8fcad7bb53
1 changed files with 1 additions and 1 deletions

View File

@ -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}
###########################################################