polybar-dwm/common/travis/install_cmake.sh
2017-01-24 14:02:54 +01:00

9 lines
283 B
Bash
Executable File

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