add URLs to brew info
This commit is contained in:
parent
c5a1171620
commit
1c3f0e43de
2
bin/brew
2
bin/brew
@ -223,7 +223,7 @@ begin
|
||||
else
|
||||
puts `ls #{HOMEBREW_CELLAR} | wc -l`.strip+" kegs, "+HOMEBREW_CELLAR.abv
|
||||
end
|
||||
elsif ARGV[0][0..6] == 'http://'
|
||||
elsif ARGV[0][0..6] == 'http://' or ARGV[0][0..7] == 'https://' or ARGV[0][0..5] == 'ftp://'
|
||||
path = Pathname.new(ARGV.shift)
|
||||
/(.*?)[-_.]?#{path.version}/.match path.basename
|
||||
unless $1.to_s.empty?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user