1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/common/travis/install_cmake.sh

7 lines
272 B
Bash
Raw Normal View History

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