aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-02 14:51:10 -0600
committerJack Nagel2013-02-02 14:51:10 -0600
commitf8735f69a12f92d6595575224a893dc675ad112c (patch)
tree90293bce78abe41604b184ea2ebf9989ec3703f0 /Library
parentc54ac5548f431ab229e1a59158ff2529be047191 (diff)
downloadhomebrew-f8735f69a12f92d6595575224a893dc675ad112c.tar.bz2
FormulaInstaller#check_requirements: fix inverted conditional
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index ab021af0d..1008bc2e6 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -109,7 +109,7 @@ class FormulaInstaller
if req.optional? || req.recommended?
Requirement.prune unless dependent.build.with?(req.name)
elsif req.build?
- Requirement.prune unless install_bottle?(dependent)
+ Requirement.prune if install_bottle?(dependent)
end
Requirement.prune if req.satisfied?