aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-30 11:19:28 -0700
committerMike McQuaid2013-10-30 11:19:46 -0700
commite5089a15618da64dfedcbd39458c096bd377e60e (patch)
treee4b7c28ef437d478509624be6f3b2ef4bcdfd972 /Library/Homebrew/cmd/info.rb
parent3790b3ca781b4b145e7397050a14ba80dc69e572 (diff)
downloadhomebrew-e5089a15618da64dfedcbd39458c096bd377e60e.tar.bz2
global: add more tap regexes.
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index d794cf26f..3180c60b6 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -67,7 +67,7 @@ module Homebrew extend self
def github_info f
path = f.path.realpath
- if path.to_s =~ %r{#{HOMEBREW_REPOSITORY}/Library/Taps/(\w+)-(\w+)/(.*)}
+ if path.to_s =~ HOMEBREW_TAP_PATH_REGEX
user = $1
repo = "homebrew-#$2"
path = $3