diff options
| author | Charlie Sharpsteen | 2011-12-26 11:55:05 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-26 11:58:25 -0800 |
| commit | d83076c07ed8dac3d629d4532e5f4e8d98a9a793 (patch) | |
| tree | 0cb4bed75804c2a4844f41c8d16b1c817b6ed657 /Library | |
| parent | acc33a56e726367d4f0eaee540adc9081ef172bf (diff) | |
| download | brew-d83076c07ed8dac3d629d4532e5f4e8d98a9a793.tar.bz2 | |
Generalize formula_installer dependency resolution
Use `Formula.factory dep.path` instead of `Formula.factory dep.name` so that
non-standard dependencies specified as URLs or paths can be handled properly.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
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 |
