1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

make-snapshot: Do not save extra file attributes

Extra file attributes (uid/gid and atime) make the packaged zip
file unstable.
This commit is contained in:
Nobuyoshi Nakada 2019-09-22 21:56:58 +09:00
parent 5f35b8ca30
commit 7fe7dec7e5
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -49,7 +49,7 @@ PACKAGES = {
"bzip" => %w".tar.bz2 bzip2 -c",
"gzip" => %w".tar.gz gzip -c",
"xz" => %w".tar.xz xz -c",
"zip" => %w".zip zip -qr",
"zip" => %w".zip zip -Xqr",
}
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
if system("7z", out: IO::NULL)