repair setup_tar_and_args! method
This commit is contained in:
parent
10d4f06a30
commit
853421e968
@ -236,8 +236,7 @@ module Homebrew
|
||||
|
||||
def setup_tar_and_args!(args, _mtime)
|
||||
# Without --only-json-tab bottles are never reproducible
|
||||
default_tar_args = ["tar", [].freeze].freeze
|
||||
return default_tar_args unless args.only_json_tab?
|
||||
["tar", [].freeze].freeze
|
||||
end
|
||||
|
||||
alias generic_setup_tar_and_args! setup_tar_and_args!
|
||||
|
||||
@ -7,7 +7,8 @@ module Homebrew
|
||||
module_function
|
||||
|
||||
def setup_tar_and_args!(args, mtime)
|
||||
generic_setup_tar_and_args!(args, mtime)
|
||||
default_tar_args = generic_setup_tar_and_args!(args, mtime)
|
||||
return default_tar_args unless args.only_json_tab?
|
||||
|
||||
["tar", gnutar_args(mtime)].freeze
|
||||
end
|
||||
|
||||
@ -7,7 +7,8 @@ module Homebrew
|
||||
module_function
|
||||
|
||||
def setup_tar_and_args!(args, mtime)
|
||||
generic_setup_tar_and_args!(args, mtime)
|
||||
default_tar_args = generic_setup_tar_and_args!(args, mtime)
|
||||
return default_tar_args unless args.only_json_tab?
|
||||
|
||||
# Use gnu-tar on macOS as it can be set up for reproducibility better than libarchive.
|
||||
begin
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user