aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-11 01:49:00 -0600
committerJack Nagel2013-12-11 01:49:00 -0600
commita412577c1b66dfe597afeae69eecf6c7218efa94 (patch)
treef8939f6c9fd38fa80863f5e8ca1c61aca5a5138d /Library
parent3df33a98644ee4c3c5251e04ef4b9c9254ef74a3 (diff)
downloadhomebrew-a412577c1b66dfe597afeae69eecf6c7218efa94.tar.bz2
Set bottle version rather than re-parse it from the URL
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index e1c1ded55..5643064af 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -47,6 +47,7 @@ class Formula
unless bottle.checksum.nil? || bottle.checksum.empty?
@bottle = bottle
bottle.url ||= bottle_url(self, bottle.current_tag)
+ bottle.version = stable.version
end
end