Check for MacPorts/Fink installation only after build failures

This commit is contained in:
Jack Nagel 2014-10-31 20:54:09 -05:00
parent d8abdfa56d
commit a01a3bd594

View File

@ -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