Skip to content

Commit 144cb18

Browse files
authored
Merge pull request #2359 from dscho/homebrew-perforce
Work around that pesky Homebrew `perforce` problem
2 parents b2da288 + 625db81 commit 144cb18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/install-dependencies.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ osx-clang|osx-gcc)
4040
test -z "$BREW_INSTALL_PACKAGES" ||
4141
brew install $BREW_INSTALL_PACKAGES
4242
brew link --force gettext
43-
brew cask install perforce ||
43+
brew cask install perforce || {
44+
# Update the definitions and try again
45+
git -C "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask pull &&
46+
brew cask install perforce
47+
} ||
4448
brew install caskroom/cask/perforce
4549
case "$jobname" in
4650
osx-gcc)

0 commit comments

Comments
 (0)