aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-26 10:37:09 -0700
committerAdam Vandenberg2013-06-26 19:58:08 -0700
commit1cd31496775ab8cf1051e22367c8ab6184bb3b97 (patch)
tree3c1815357a4f56950da0f7e28d3aa71d1a599880 /Library/Homebrew/formula_installer.rb
parent5627ed21ce39271f503d45e7ff0cace837ba4b63 (diff)
downloadbrew-1cd31496775ab8cf1051e22367c8ab6184bb3b97.tar.bz2
Be explicit about passing formulae names or instances to Tab
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-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 5a5ded9d9..30059acba 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -205,7 +205,7 @@ class FormulaInstaller
end
def install_dependency dep
- dep_tab = Tab.for_formula(dep)
+ dep_tab = Tab.for_formula(dep.to_formula)
dep_options = dep.options
dep = dep.to_formula