Skip to content
Snippets Groups Projects
Commit 8806fc19 authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge pull request #885 from bilke/wget-fix

Replace wget by curl
parents a0f2aeca cc4f84f5
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,10 @@
set -e
# check to see if cmake folder is empty
if [ ! -d "$HOME/cmake-3.1.1-Linux-x86_64/bin" ]; then
CMAKE_TAR="cmake-3.1.1-Linux-x86_64.tar.gz"
cd $HOME
wget http://www.cmake.org/files/v3.1/cmake-3.1.1-Linux-x86_64.tar.gz;
tar -xzvf cmake-3.1.1-Linux-x86_64.tar.gz;
curl -L -o $CMAKE_TAR http://www.cmake.org/files/v3.1/$CMAKE_TAR;
tar -xzvf $CMAKE_TAR;
else
echo 'Using cached cmake directory.';
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment