Skip to content
Snippets Groups Projects
Commit 47b2eedd authored by Mike McQuaid's avatar Mike McQuaid
Browse files

Revert "Generate the bottle download URL correctly."

This reverts commit 092004e7820791030f568af0e3b03389ea4f7ee3.
parent dcad1ae4
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,6 @@ class Formula
CHECKSUM_TYPES.each { |type| set_instance_variable type }
@downloader = download_strategy.new @spec_to_use.url, name, version, @spec_to_use.specs
@bottle_url ||= bottle_base_url + bottle_filename(self) if @bottle_sha1
end
# if the dir is there, but it's empty we consider it not installed
......@@ -634,6 +632,7 @@ private
bottle_block.instance_eval &block
@bottle_version, @bottle_url, @bottle_sha1 = bottle_block.data
@bottle_url ||= bottle_base_url + bottle_filename(self) if @bottle_sha1
end
def mirror val, specs=nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment