aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-02 12:44:28 -0600
committerJack Nagel2013-12-02 12:49:58 -0600
commitb5f83e60f9652465822a1723a19b3fa92a38c6f2 (patch)
tree1d56275e884c77e2781e4c2f46840b3cee577e6a /Library
parent69dcc2592ca58fec117b4a7fd78c72596af3ba50 (diff)
downloadbrew-b5f83e60f9652465822a1723a19b3fa92a38c6f2.tar.bz2
Re-check requirements if a bottle installation fails
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 0a0f61aeb..5f43919c7 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -141,7 +141,10 @@ class FormulaInstaller
build_bottle_preinstall if ARGV.build_bottle?
unless @poured_bottle
- install_dependencies if @pour_failed && !ignore_deps
+ if @pour_failed and not ignore_deps
+ check_requirements
+ install_dependencies
+ end
build
clean
end