Skip to content

Commit 49656f9

Browse files
committed
Merge branch 'jc/macos-install-dependencies-fix'
Fix for procedure to building CI test environment for mac. * jc/macos-install-dependencies-fix: ci/install-depends: attempt to fix "brew cask" stuff
2 parents 8782bfb + 3831132 commit 49656f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/install-dependencies.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ osx-clang|osx-gcc)
4444
test -z "$BREW_INSTALL_PACKAGES" ||
4545
brew install $BREW_INSTALL_PACKAGES
4646
brew link --force gettext
47-
brew cask install --no-quarantine perforce || {
47+
brew install --cask --no-quarantine perforce || {
4848
# Update the definitions and try again
4949
cask_repo="$(brew --repository)"/Library/Taps/homebrew/homebrew-cask &&
50-
git -C "$cask_repo" pull --no-stat &&
51-
brew cask install --no-quarantine perforce
50+
git -C "$cask_repo" pull --no-stat --ff-only &&
51+
brew install --cask --no-quarantine perforce
5252
} ||
53-
brew install caskroom/cask/perforce
53+
brew install homebrew/cask/perforce
5454
case "$jobname" in
5555
osx-gcc)
5656
brew install gcc@9

0 commit comments

Comments
 (0)