mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make-snapshot: Added -no7z option
It disables 7z, which seems not to have an option to stop saving extra file attributes (uid/gid and atime), in order to make zip packages stable.
This commit is contained in:
parent
7fe7dec7e5
commit
b0d24e262f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ PACKAGES = {
|
|||
"zip" => %w".zip zip -Xqr",
|
||||
}
|
||||
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
|
||||
if system("7z", out: IO::NULL)
|
||||
if !$no7z and system("7z", out: IO::NULL)
|
||||
PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
|
||||
PACKAGES["zip"] = %w".zip 7z a -tzip -mx" << {out: IO::NULL}
|
||||
elsif gzip = ENV.delete("GZIP")
|
||||
|
|
Loading…
Add table
Reference in a new issue