aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index eee2ae635..e6d846dd1 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