From 8fcad7bb530c31732cb7ebe5315469e9a476e33a Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 12 Nov 2018 22:23:34 -0800 Subject: [PATCH] Fix CI curl calls Fix `curl` to follow redirects and use the correct `strip` variable. See gh-15158 --- ci/images/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/images/setup.sh b/ci/images/setup.sh index 461a68a5ee..a32d391c05 100755 --- a/ci/images/setup.sh +++ b/ci/images/setup.sh @@ -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} ###########################################################