From 7fe7dec7e5f7cefae986fe6475805198ec4dbada Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 22 Sep 2019 21:56:58 +0900 Subject: make-snapshot: Do not save extra file attributes Extra file attributes (uid/gid and atime) make the packaged zip file unstable. --- tool/make-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/make-snapshot') diff --git a/tool/make-snapshot b/tool/make-snapshot index 28fc724a87..f5f0ed2bc4 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -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) -- cgit v1.2.3