Bug 1544981 - Stop tapping caskroom/versions in bootstrap for macOS r=nalexander

`caskroom/versions` was replaced with `homebrew/cask-versions` in 2018.
Tap `caskroom/versions` instead of the old one.

If you have two taps, remove the old one using:

    brew untap caskroom/versions

Differential Revision: https://phabricator.services.mozilla.com/D27839

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Wu 2019-04-18 18:39:31 +00:00
Родитель 6f2e110ae1
Коммит d3467efbf0
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -321,7 +321,7 @@ class OSXBootstrapper(BaseBootstrapper):
# Ensure that we can access old versions of packages. This is
# idempotent, so no need to avoid repeat invocation.
self.check_output([self.brew, 'tap', 'caskroom/versions'])
self.check_output([self.brew, 'tap', 'homebrew/cask-versions'])
# Change |brew install cask| into |brew cask install cask|.
return self._ensure_homebrew_packages(casks, extra_brew_args=['cask'])
@ -388,7 +388,7 @@ class OSXBootstrapper(BaseBootstrapper):
def suggest_homebrew_mobile_android_mozconfig(self, artifact_mode=False):
from mozboot import android
# Path to java from the caskroom/versions/java8 cask.
# Path to java from the homebrew/cask-versions/java8 cask.
android.suggest_mozconfig('macosx', artifact_mode=artifact_mode,
java_bin_path='/Library/Java/Home/bin')