Merge pull request #15359 from samuello1228/samuello1228

bottle: some tar flags are not supported on Mojave
This commit is contained in:
Bo Anderson 2023-05-04 12:49:00 +01:00 committed by GitHub
commit 7d8815cc9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,10 @@
module Homebrew
sig { returns(T::Array[String]) }
def self.tar_args
["--no-mac-metadata", "--no-acls", "--no-xattrs"].freeze
if MacOS.version >= :catalina
["--no-mac-metadata", "--no-acls", "--no-xattrs"].freeze
else
[].freeze
end
end
end