diff options
| author | Xu Cheng | 2015-12-06 22:45:03 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-09 16:56:59 +0800 |
| commit | c79619839859d63112d8c9d0d415949642ff3eec (patch) | |
| tree | 04dc7f19e10d494965ca98d26b99de6b1fa2a68d /Library | |
| parent | 9a384f5134f19663f90ccf5737635051e11ebb90 (diff) | |
| download | brew-c79619839859d63112d8c9d0d415949642ff3eec.tar.bz2 | |
formula_versions: tap is a Tap object now
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_versions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb index 3d92d676c..34416dca4 100644 --- a/Library/Homebrew/formula_versions.rb +++ b/Library/Homebrew/formula_versions.rb @@ -12,7 +12,7 @@ class FormulaVersions def initialize(formula) @name = formula.name @path = formula.path - @repository = formula.tap? ? HOMEBREW_LIBRARY.join("Taps", formula.tap) : HOMEBREW_REPOSITORY + @repository = formula.tap.path @entry_name = @path.relative_path_from(repository).to_s end |
