polybar-dwm/common/travis/install_cmake.sh
2017-01-25 15:21:58 +01:00

8 lines
245 B
Bash
Executable File

#!/bin/bash
if [ -z "$(ls -A "${DEPS_DIR}/cmake/bin" 2>/dev/null)" ]; then
mkdir -p "cmake"
travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"