Skip to content

Commit 39cf94c

Browse files
authored
Merge pull request #2983 from gitgitgadget/jc/macos-install-dependencies-fix
ci/install-depends: attempt to fix "brew cask" stuff
2 parents f8cbc84 + 3831132 commit 39cf94c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/install-dependencies.sh

+4-4
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)