aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-12-20 09:57:19 +0000
committerGitHub2016-12-20 09:57:19 +0000
commit26af62ed686449022e6dc782bd3224af6c5aaafd (patch)
treeae4a78b18e905e6178d621268b0b8f4517f09b57 /Library
parent0027ded5aa6195dcc153ecf0d3d3b05e99f339af (diff)
parentab060c9d52f4edca8551aa44315c816fe1381fd4 (diff)
downloadbrew-26af62ed686449022e6dc782bd3224af6c5aaafd.tar.bz2
Merge pull request #1678 from MikeMcQuaid/loosen-superenv-cellar-regex
super/cc: loosen cellar formula regex.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/shims/super/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc
index 9d2ee0d34..b0ea705e8 100755
--- a/Library/Homebrew/shims/super/cc
+++ b/Library/Homebrew/shims/super/cc
@@ -31,7 +31,7 @@ class Cmd
@deps = Set.new(ENV.fetch("HOMEBREW_DEPENDENCIES") { "" }.split(","))
@formula_prefix = ENV["HOMEBREW_FORMULA_PREFIX"]
# matches opt or cellar prefix and formula name
- @keg_regex = %r[(#{Regexp.escape(opt)}|#{Regexp.escape(cellar)})/([\w\-_\+]+)]
+ @keg_regex = %r[(#{Regexp.escape(opt)}|#{Regexp.escape(cellar)})/([\w+-.@]+)]
end
def mode