aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-12-11 01:49:00 -0600
committerJack Nagel2013-12-11 01:49:00 -0600
commit4f158f23b8627aeda0c8ed2cae23546edd300254 (patch)
tree19e2530355b4e0f9796461ed54decde1ec52f81d
parent8c5a49067ef6ddf96c30cdc4e2e29390b25a1ac7 (diff)
downloadbrew-4f158f23b8627aeda0c8ed2cae23546edd300254.tar.bz2
Set bottle version rather than re-parse it from the URL
-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