diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_versions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb index 19f9bdb9c..3b96570c8 100644 --- a/Library/Homebrew/formula_versions.rb +++ b/Library/Homebrew/formula_versions.rb @@ -13,8 +13,8 @@ class FormulaVersions end def repository - @repository ||= if f.path.to_s =~ HOMEBREW_TAP_DIR_REGEX - HOMEBREW_REPOSITORY/"Library/Taps/#$1/#$2" + @repository ||= if f.tap? + HOMEBREW_LIBRARY.join("Taps", f.tap) else HOMEBREW_REPOSITORY end |
