diff options
| author | Mike McQuaid | 2013-10-30 11:19:28 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-30 11:19:46 -0700 |
| commit | 202c6ef8262ca95bc5362bb431377c14847a3679 (patch) | |
| tree | 1600d84d051ab910da72bff9a422c877cbf3bcda /Library/Homebrew/formula.rb | |
| parent | 868b4f8bea5f04de4c9036c4ca6e3697670225c3 (diff) | |
| download | brew-202c6ef8262ca95bc5362bb431377c14847a3679.tar.bz2 | |
global: add more tap regexes.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b94ec7c3e..e0c9921cd 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -438,7 +438,7 @@ class Formula end def tap - if path.realpath.to_s =~ %r{#{HOMEBREW_REPOSITORY}/Library/Taps/(\w+)-(\w+)} + if path.realpath.to_s =~ HOMEBREW_TAP_DIR_REGEX "#$1/#$2" elsif core_formula? "mxcl/master" |
