From 22aec1d0d97ee20fdc31e2df278378fe17f9d07f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 9 Feb 2013 19:05:53 -0800 Subject: Add custom bottle URL support. Signed-off-by: Mike McQuaid --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/formula.rb') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index eff006cdc..d1ef58f50 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -39,7 +39,7 @@ class Formula # Ensure the bottle URL is set. If it does not have a checksum, # then a bottle is not available for the current platform. if @bottle and not (@bottle.checksum.nil? or @bottle.checksum.empty?) - @bottle.url ||= bottle_base_url + bottle_filename(self) + @bottle.url ||= bottle_url(self) if @bottle.cat_without_underscores @bottle.url.gsub!(MacOS.cat.to_s, MacOS.cat_without_underscores.to_s) end -- cgit v1.2.3