polybar-dwm/common/travis/install_cmake.sh

8 lines
245 B
Bash
Raw Normal View History

2016-12-15 19:22:42 +00:00
#!/bin/bash
2016-11-19 07:55:46 +00:00
if [ -z "$(ls -A "${DEPS_DIR}/cmake/bin" 2>/dev/null)" ]; then
2017-01-25 14:21:58 +00:00
mkdir -p "cmake"
travis_retry wget --no-check-certificate -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
2016-11-19 07:55:46 +00:00
fi
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"