From 4f158f23b8627aeda0c8ed2cae23546edd300254 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 11 Dec 2013 01:49:00 -0600 Subject: [PATCH] Set bottle version rather than re-parse it from the URL --- Library/Homebrew/formula.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index e1c1ded556..5643064af0 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