diff options
| author | ilovezfs | 2016-03-23 09:20:50 -0700 |
|---|---|---|
| committer | Xu Cheng | 2016-03-29 16:19:37 +0800 |
| commit | 9bbaaca98c2ba09fd2154e439466ab895270f04b (patch) | |
| tree | ec8e4e6b0757614dbe815ac3d68659e9e8886bab /Library | |
| parent | a87eb23a3b613de803f249aee2c9941f5190aef6 (diff) | |
| download | brew-9bbaaca98c2ba09fd2154e439466ab895270f04b.tar.bz2 | |
FormulaInstaller: rescue tap unavail for reqs too
Calling `compute_dependencies` will make sure both requirements and
dependencies are expanded, so that any referenced taps can be
auto-tapped. Prior to this commit only dependencies were expanded for
the sake of auto-tapping, so dependencies of requirements would cause
installation to fail whenever a tap unavailable exception was
encountered.
Closes Homebrew/homebrew#50271
Closes Homebrew/homebrew#50281.
Signed-off-by: ilovezfs <ilovezfs@icloud.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 5f66b93e7..aa8a28b8c 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -126,7 +126,7 @@ class FormulaInstaller def verify_deps_exist begin - formula.recursive_dependencies.map(&:to_formula) + compute_dependencies rescue TapFormulaUnavailableError => e if e.tap.installed? raise |
