diff options
| author | Jack Nagel | 2013-10-16 15:34:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-10-16 15:34:43 -0500 |
| commit | ba06e2504cd9b0d1792c387aae865b144e8a99dc (patch) | |
| tree | c11814a543da28762fe2e8147c9072ce025f8add | |
| parent | 4d086e839477ea6eee0d8951b908e70975ae4c88 (diff) | |
| download | brew-ba06e2504cd9b0d1792c387aae865b144e8a99dc.tar.bz2 | |
Don't print multiple deps messages when only installing one dep
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index b26d4b7b3..f09a2d6eb 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -315,7 +315,10 @@ class FormulaInstaller end def install_dependencies - oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps.join(", ")}#{Tty.reset}" if not effective_deps.empty? + if effective_deps.length > 1 + oh1 "Installing dependencies for #{f}: #{Tty.green}#{effective_deps*", "}#{Tty.reset}" + end + effective_deps.each do |dep| if dep.requested? install_dependency(dep) |
