aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-31 20:54:09 -0500
committerJack Nagel2014-10-31 20:54:09 -0500
commit8d8e77d47dfcaf22dfde7faf2374ba471e802b58 (patch)
tree674e886204b3e1c7868361f5d2bf2662655e86f6 /Library/Homebrew/cmd/install.rb
parentb9c51fabc4b0c64a7080075ce6407e7a141258e7 (diff)
downloadhomebrew-8d8e77d47dfcaf22dfde7faf2374ba471e802b58.tar.bz2
Check for MacPorts/Fink installation only after build failures
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb4
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