diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 1bd6b02216..a15d65e85b 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -7,7 +7,7 @@ require 'extend/ARGV' def bottle_filename f, bottle_revision=nil name = f.name.downcase version = f.stable.version - bottle_revision ||= f.bottle.revision.to_i + bottle_revision ||= f.bottle.revision.to_i if f.bottle "#{name}-#{version}#{bottle_native_suffix(bottle_revision)}" end