diff options
| author | Mike McQuaid | 2012-04-24 18:10:06 +1000 |
|---|---|---|
| committer | Mike McQuaid | 2012-04-24 18:10:06 +1000 |
| commit | 90f41308f9d9edb204f026499c199c89bd2e1ca3 (patch) | |
| tree | f8fb5609f1eb9a8d94213b0443d90c5998a1d292 /Library | |
| parent | 146e253856eb3e27b6b7382734fd178c160c1beb (diff) | |
| download | homebrew-90f41308f9d9edb204f026499c199c89bd2e1ca3.tar.bz2 | |
Revert "Generate the bottle download URL correctly."
This reverts commit 092004e7820791030f568af0e3b03389ea4f7ee3.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index d0e270137..cecb904ab 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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 |
