diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb index 888e8c778975d0306e0ecc55dfa7e80b7a8ee486..12071b9078df8cee459df3cbfe24d857aff26efa 100644 --- a/Library/Homebrew/cmd/bottle.rb +++ b/Library/Homebrew/cmd/bottle.rb @@ -391,10 +391,14 @@ module Homebrew if !tag.empty? if !bottle_hash["bottle"]["tags"][tag].to_s.empty? - mismatches << "#{key} => #{tag}" - else - bottle.send(key, value => tag.to_sym) + old_value = bottle_hash["bottle"]["tags"][tag][key].to_s + if value != old_value + mismatches << "#{key} => #{tag}" + end + next end + + bottle.send(key, value => tag.to_sym) next end