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