From 5a2826594158cc4331c7b4204d252c39fe0dfd21 Mon Sep 17 00:00:00 2001 From: Josh Hagins Date: Sat, 16 Jul 2016 22:13:41 -0400 Subject: [PATCH] travis: replace hardcoded path with TRAVIS_REPO_SLUG --- ci/travis/before_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/travis/before_install.sh b/ci/travis/before_install.sh index 51e65bbc5..a84abbff5 100644 --- a/ci/travis/before_install.sh +++ b/ci/travis/before_install.sh @@ -62,7 +62,7 @@ run brew update run brew uninstall --force brew-cask # mirror the repo as a tap, then run the build from there -run export CASK_TAP_DIR='/usr/local/Library/Taps/caskroom/homebrew-versions' +run export CASK_TAP_DIR="/usr/local/Library/Taps/caskroom/${TRAVIS_REPO_SLUG}" run mkdir -p "${CASK_TAP_DIR}" run rsync -az --delete "${TRAVIS_BUILD_DIR}/" "${CASK_TAP_DIR}/" run export TRAVIS_BUILD_DIR="${CASK_TAP_DIR}"