summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2016-02-12 11:12:57 +0200
committerRiku Voipio <riku.voipio@linaro.org>2016-02-12 15:11:59 +0200
commit69d821d4fc543e588dea2ecb2bcf541c0c3b773b (patch)
tree338b5446d47621457a2f8ab0da212c9551174fa3
parentb04ee29d3c0efe9d906ff33711bcdc5485a93f25 (diff)
downloadlci-build-tools-69d821d4fc543e588dea2ecb2bcf541c0c3b773b.tar.gz
jenkins_kernel_build_inst - adapt to releases.linaro.org change
curl -v http://releases.linaro.org/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz ... HTTP/1.1 302 FOUND Location: https://publishing-linaro-org.s3.amazonaws.com/releases/14.08/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.08_linux.tar.xz?Signature=lkiJ65voXSh%2B%2Fk%2F6FPSmNrklEJw%3D&Expires=1455282860&AWSAccessKeyId=AKIAIELXV2RYNAHFUP7A Without -L parameter curl will not follow Location: field to next server. Change-Id: I032196f120d443535c7e07181251657e1f0ca544
-rwxr-xr-xjenkins_kernel_build_inst2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins_kernel_build_inst b/jenkins_kernel_build_inst
index b0986f3..a8afff0 100755
--- a/jenkins_kernel_build_inst
+++ b/jenkins_kernel_build_inst
@@ -36,7 +36,7 @@ install_custom_toolchain()
test -d ${tcbindir} && return 0
test -z "${toolchain_url}" && return 0
toolchain=`basename ${toolchain_url}`
- test -f ${toolchain} || curl -sSO ${toolchain_url}
+ test -f ${toolchain} || curl -sLSO ${toolchain_url}
mkdir -p `dirname ${tcbindir}`
tar --strip-components=1 -C `dirname ${tcbindir}` -xf ${toolchain}
}