diff options
| author | Mike McQuaid | 2017-03-25 10:59:54 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2017-03-25 10:59:54 +0000 | 
| commit | 0cc9d93885b7824e702156c50c46d22158b5a57f (patch) | |
| tree | 5f86bbc9ccabfe1ee45a1aae0aecd77b86a73c4d /Library/Homebrew/formula_installer.rb | |
| parent | 098ed84df4113f4a04a386765dd1c7537fa39f72 (diff) | |
| download | brew-0cc9d93885b7824e702156c50c46d22158b5a57f.tar.bz2 | |
formula_installer: tweak req formula additions.
Rather than just checking if a requirement's dependency is installed or
not check if the requirement was actually satisfied by a particular
formula rather than e.g. just having a `default_formula` defined.
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -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 fa46a30f4..017be51dc 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -415,7 +415,7 @@ class FormulaInstaller      return true unless req.satisfied?      return false if req.run?      return true if build_bottle? -    return true unless req_dependency.installed? +    return true if req.satisfied_by_formula?      install_bottle_for?(dependent, build)    end  | 
