Merge pull request #1678 from MikeMcQuaid/loosen-superenv-cellar-regex
super/cc: loosen cellar formula regex.
This commit is contained in:
commit
26af62ed68
@ -31,7 +31,7 @@ class Cmd
|
|||||||
@deps = Set.new(ENV.fetch("HOMEBREW_DEPENDENCIES") { "" }.split(","))
|
@deps = Set.new(ENV.fetch("HOMEBREW_DEPENDENCIES") { "" }.split(","))
|
||||||
@formula_prefix = ENV["HOMEBREW_FORMULA_PREFIX"]
|
@formula_prefix = ENV["HOMEBREW_FORMULA_PREFIX"]
|
||||||
# matches opt or cellar prefix and formula name
|
# 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
|
end
|
||||||
|
|
||||||
def mode
|
def mode
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user