From 49b16f3462980bd626a59a85768fb6c7b6228e2b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 23 Mar 2012 05:58:14 +1300 Subject: [PATCH] Fix broken default bottle URL. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 909bbd0f93..c8ef58e502 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -631,7 +631,7 @@ private bottle_block.instance_eval &block @bottle_url, @bottle_sha1 = bottle_block.url_sha1 - @bottle_url ||= "#{bottle_base_url}/#{name.downcase}-#{@version||@standard.detect_version}#{bottle_native_suffix}" if @bottle_sha1 + @bottle_url ||= "#{bottle_base_url}#{name.downcase}-#{@version||@standard.detect_version}#{bottle_native_suffix}" if @bottle_sha1 end def mirror val, specs=nil