Revert "run macports check after failed build instead of before every build"

CannotInstallFormulaError is only raised when another version of the
formula is linked or any of its dependencies are unlinked, in which case
this warning is totally irrelevant. It should be checked after build
errors instead.

This reverts commit 466d0f718bc2241e830393b384294c21194995e0.
This commit is contained in:
Jack Nagel 2014-10-31 20:54:09 -05:00
parent 73cc58641b
commit d8abdfa56d

View File

@ -111,6 +111,7 @@ module Homebrew
check_ppc check_ppc
check_writable_install_location check_writable_install_location
check_xcode check_xcode
check_macports
check_cellar check_cellar
end end
@ -138,6 +139,5 @@ module Homebrew
# another formula. In that case, don't generate an error, just move on. # another formula. In that case, don't generate an error, just move on.
rescue CannotInstallFormulaError => e rescue CannotInstallFormulaError => e
ofail e.message ofail e.message
check_macports
end end
end end