diff options
| author | Jack Nagel | 2014-10-31 20:54:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-31 20:54:09 -0500 |
| commit | 8d8e77d47dfcaf22dfde7faf2374ba471e802b58 (patch) | |
| tree | 674e886204b3e1c7868361f5d2bf2662655e86f6 /Library/Homebrew/cmd | |
| parent | b9c51fabc4b0c64a7080075ce6407e7a141258e7 (diff) | |
| download | homebrew-8d8e77d47dfcaf22dfde7faf2374ba471e802b58.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 |
