diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 0ea0e9c65a..e5f90cb778 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