diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index eee2ae6357..e6d846dd12 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -35,7 +35,7 @@ class FormulaInstaller # Re-create the formula object so that args like `--HEAD` won't # affect properties like the installation prefix. Also need to # re-check installed status as the Formula may have changed. - dep = Formula.factory dep.name + dep = Formula.factory dep.path install_dependency dep unless dep.installed? end end