aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-12-02 12:44:28 -0600
committerJack Nagel2013-12-02 12:49:58 -0600
commit2cfb03f85e084bcc3b0df076bb3c922a76232a8b (patch)
treed36e6450168f3baf3d14136cc17017b3dbcfb963
parent0ee6a4d6f9fc4871e8897e3733ede689a34edcb6 (diff)
downloadhomebrew-2cfb03f85e084bcc3b0df076bb3c922a76232a8b.tar.bz2
Re-check requirements if a bottle installation fails
-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