From 1c3f0e43dee3958c4ddbfdf0726817198725eeca Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 7 Aug 2010 16:32:30 -0700 Subject: [PATCH] add URLs to brew info --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index 2834719269..e9016704ae 100755 --- a/bin/brew +++ b/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?