brew tap: allow dashes in GitHub usernames

This commit is contained in:
Misty De Meo 2012-04-30 14:02:23 -05:00
parent 9d81b0d847
commit 827d263d01

View File

@ -61,7 +61,7 @@ module Homebrew extend self
private
def tap_args
ARGV.first =~ %r{^(\w+)/(homebrew-)?(\w+)$}
ARGV.first =~ %r{^(\S+)/(homebrew-)?(\w+)$}
raise "Invalid usage" unless $1 and $3
[$1, $3]
end