From 2c175a9d7dcee9b05e0c054366f23249ae9acd4f Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 5 Dec 2013 23:06:50 -0800 Subject: Bottles: fix bottle_filename revision Fixes Homebrew/homebrew#24981. --- Library/Homebrew/bottles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 0ea0e9c65..e5f90cb77 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -6,7 +6,7 @@ require 'bottle_version' def bottle_filename f, options={:tag=>bottle_tag, :bottle_revision=>nil} name = f.name.downcase version = f.stable.version - bottle_revision ||= f.bottle.revision.to_i if f.bottle + options[:revision] ||= f.bottle.revision.to_i if f.bottle "#{name}-#{version}#{bottle_native_suffix(options)}" end -- cgit v1.2.3