Explorar o código

.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.
archshift %!s(int64=10) %!d(string=hai) anos
pai
achega
2fd4f6f154
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .travis-deps.sh

+ 1 - 1
.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
 
     (