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)
|
def setup_tar_and_args!(args, _mtime)
|
||||||
# Without --only-json-tab bottles are never reproducible
|
# Without --only-json-tab bottles are never reproducible
|
||||||
default_tar_args = ["tar", [].freeze].freeze
|
["tar", [].freeze].freeze
|
||||||
return default_tar_args unless args.only_json_tab?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
alias generic_setup_tar_and_args! setup_tar_and_args!
|
alias generic_setup_tar_and_args! setup_tar_and_args!
|
||||||
|
|||||||
@ -7,7 +7,8 @@ module Homebrew
|
|||||||
module_function
|
module_function
|
||||||
|
|
||||||
def setup_tar_and_args!(args, mtime)
|
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
|
["tar", gnutar_args(mtime)].freeze
|
||||||
end
|
end
|
||||||
|
|||||||
@ -7,7 +7,8 @@ module Homebrew
|
|||||||
module_function
|
module_function
|
||||||
|
|
||||||
def setup_tar_and_args!(args, mtime)
|
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.
|
# Use gnu-tar on macOS as it can be set up for reproducibility better than libarchive.
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user