From e18027a1a8406f97c3a3db8946817635eec6808d Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Wed, 8 Jul 2020 09:41:12 -0700 Subject: [PATCH] Utils::Bottles::tag: ARM tag is arm_big_sur --- Library/Homebrew/extend/os/mac/utils/bottles.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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