polybar/common/travis/install_cmake.sh

7 lines
250 B
Bash
Raw Normal View History

2016-11-19 07:55:46 +00:00
#!/bin/sh
if [ -z "$(ls -A "${DEPS_DIR}/cmake/bin" 2>/dev/null)" ]; then
mkdir -p cmake && travis_retry wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi
export PATH="${DEPS_DIR}/cmake/bin:${PATH}"