aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-02-09 19:05:53 -0800
committerMike McQuaid2013-03-01 17:49:09 +0000
commit22aec1d0d97ee20fdc31e2df278378fe17f9d07f (patch)
treec4fff084e50c4b53fe7b59d39273d271d9468eca /Library/Homebrew/formula.rb
parent443bf9f287090d5c2d309e86b2673b57744dab8c (diff)
downloadbrew-22aec1d0d97ee20fdc31e2df278378fe17f9d07f.tar.bz2
Add custom bottle URL support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
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