diff options
| author | Jack Nagel | 2014-10-31 20:54:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-31 20:54:09 -0500 |
| commit | a01a3bd5948faadc503f524dfd918e9121fe5c56 (patch) | |
| tree | 066303a6eaa537d7f0c9679fb94d45e75a42f454 /Library/Homebrew/cmd | |
| parent | d8abdfa56d4d34f10179e4f585cb6c555a65a743 (diff) | |
| download | brew-a01a3bd5948faadc503f524dfd918e9121fe5c56.tar.bz2 | |
Check for MacPorts/Fink installation only after build failures
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 4ddb30f0d..986ab6afc 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -111,7 +111,6 @@ module Homebrew check_ppc check_writable_install_location check_xcode - check_macports check_cellar end @@ -139,5 +138,8 @@ module Homebrew # another formula. In that case, don't generate an error, just move on. rescue CannotInstallFormulaError => e ofail e.message + rescue BuildError + check_macports + raise end end |
