diff options
| author | Jack Nagel | 2013-02-02 14:51:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-02 14:51:10 -0600 |
| commit | c0822f84001081071845a43371ef9be866b9cc26 (patch) | |
| tree | c01f0c519af51891dc77770ba23ddbd42b925945 /Library | |
| parent | ea15442b9a9d594f8e62923473ff738f921b46bc (diff) | |
| download | brew-c0822f84001081071845a43371ef9be866b9cc26.tar.bz2 | |
FormulaInstaller#check_requirements: fix inverted conditional
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
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? |
