diff options
| author | Jack Nagel | 2013-12-02 12:44:28 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-02 12:44:28 -0600 |
| commit | 2b23c163af13ab008e480a0447ec02e1f7c95c36 (patch) | |
| tree | 70deaf17cca050a6baa300fa048cd995c8ccd029 /Library | |
| parent | 4443a9f2e195eab66685799750545c994d4f8cd6 (diff) | |
| download | brew-2b23c163af13ab008e480a0447ec02e1f7c95c36.tar.bz2 | |
Rename effective_deps to unsatisfied_deps
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c0348fe51..996e6f7fa 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -234,25 +234,25 @@ class FormulaInstaller f.recursive_dependencies.select { |d| deps.include? d } end - def effective_deps - @effective_deps ||= filter_deps + def unsatisfied_deps + @unsatisfied_deps ||= filter_deps end def install_dependencies - @effective_deps = nil if @pour_failed + @unsatisfied_deps = nil if @pour_failed - if effective_deps.length > 1 - oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps*", "}#{Tty.reset}" + if unsatisfied_deps.length > 1 + oh1 "Installing dependencies for #{f}: #{Tty.green}#{unsatisfied_deps*", "}#{Tty.reset}" end - effective_deps.each do |dep| + unsatisfied_deps.each do |dep| if dep.requested? install_dependency(dep) else ARGV.filter_for_dependencies { install_dependency(dep) } end end - @show_header = true unless effective_deps.empty? + @show_header = true unless unsatisfied_deps.empty? end def install_dependency dep |
