Commit 8587ccd0 authored by Davis King's avatar Davis King

Added logging

parent d0b94a76
......@@ -3,11 +3,15 @@
# Exit if anything fails.
set -eux
echo "Checking if cmake already downloaded"
if [[ ! -x cmake/2.8/bin/cmake || ! -x cmake/3.1/bin/cmake || ! -x cmake/3.5/bin/cmake ]]; then
echo "Didn't find it, clearing old cmake folder"
rm -rf cmake
fi
if [[ ! -d cmake ]]; then
echo "Downloading cmake..."
CMAKE_URL="http://www.cmake.org/files/v2.8/cmake-2.8.12-Linux-i386.tar.gz"
mkdir -p cmake/2.8
wget --no-check-certificate -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake/2.8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment