Fix CI curl calls
Fix `curl` to follow redirects and use the correct `strip` variable. See gh-15158
This commit is contained in:
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…
Reference in New Issue