Allow CACHEDIR to be set externally.

fixes #22, closes #23
This commit is contained in:
Ralph Lange
2020-02-28 12:40:40 +01:00
parent 17ce951e99
commit b0ab3bf333
5 changed files with 9 additions and 3 deletions

View File

@@ -39,7 +39,8 @@ SETUP_DIRS=${SETUP_PATH//:/ }
SCRIPTDIR=$(dirname $(readlinkf $0))/travis
CURDIR="$PWD"
CACHEDIR="$HOME/.cache"
CACHEDIR=${CACHEDIR:-${HOME}/.cache}
[ -e ${CACHEDIR} ] || mkdir -p ${CACHEDIR}
echo "Testing contents of utils.sh"