diff --git a/Library/Homebrew/extend/os/mac/utils/bottles.rb b/Library/Homebrew/extend/os/mac/utils/bottles.rb index 99a22c3513..37d34eadb2 100644 --- a/Library/Homebrew/extend/os/mac/utils/bottles.rb +++ b/Library/Homebrew/extend/os/mac/utils/bottles.rb @@ -6,9 +6,11 @@ module Utils undef tag def tag - tag = MacOS.version.to_sym - tag = "#{tag}_arm".to_sym if Hardware::CPU.arm? - tag + if Hardware::CPU.intel? + MacOS.version.to_sym + else + "#{ENV["HOMEBREW_PROCESSOR"]}_#{MacOS.version.to_sym}".to_sym + end end end