if [[ ! -f ${CMAKE_INSTALLER} ]] | if [[ ! -f ${CMAKE_INSTALLER} ]] | ||||
then | then | ||||
echo "CMake installer not available, downloading ..." | |||||
curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh -o ${CMAKE_INSTALLER} | curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh -o ${CMAKE_INSTALLER} | ||||
chmod +x ${CMAKE_INSTALLER} | chmod +x ${CMAKE_INSTALLER} | ||||
fi | fi |