diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 60d9ef417f..ddab165329 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -237,7 +237,6 @@ class FormulaInstaller end def install_dependencies - unsatisfied_deps.clear if @pour_failed unsatisfied_deps.concat(filter_deps) if unsatisfied_deps.length > 1 @@ -252,6 +251,8 @@ class FormulaInstaller end end @show_header = true unless unsatisfied_deps.empty? + ensure + unsatisfied_deps.clear end def install_dependency dep