diff options
author | archshift <gh@archshift.com> | 2015-11-03 17:28:24 -0800 |
---|---|---|
committer | archshift <gh@archshift.com> | 2015-11-03 17:28:24 -0800 |
commit | 2fd4f6f1542b2ccd688fee802cf2a0601f582f41 (patch) | |
tree | 9ae14453fbb0fa541d6b6a4204f5a5e6fad5be2d | |
parent | 7c12ee9ecc9ccfc6ab051cebfb7d238acc867de3 (diff) |
.travis-deps.sh: update curl invocation to follow 302 redirects
CMake recently 302'd the download URL we're using.
To prevent any issues, just follow the redirect with cURL.
-rwxr-xr-x | .travis-deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis-deps.sh b/.travis-deps.sh index 5c530dcb9..504edbcdf 100755 --- a/.travis-deps.sh +++ b/.travis-deps.sh @@ -9,7 +9,7 @@ if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then export CXX=g++-4.9 mkdir -p $HOME/.local - curl http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ + curl -L http://www.cmake.org/files/v2.8/cmake-2.8.11-Linux-i386.tar.gz \ | tar -xz -C $HOME/.local --strip-components=1 ( |