summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-22 21:56:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-22 22:18:14 +0900
commit7fe7dec7e5f7cefae986fe6475805198ec4dbada (patch)
treef1432ca7197177ed1664fd06496fd78c5ff1d520 /tool
parent5f35b8ca30cba69968d4d0c885a4bf5c48b03e17 (diff)
make-snapshot: Do not save extra file attributes
Extra file attributes (uid/gid and atime) make the packaged zip file unstable.
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
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)