summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-23 00:55:48 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-23 00:55:48 +0900
commitd8221a54f2c5729573ddb03cb51d638ae74cc876 (patch)
treef7d5563d0eb470d1565ae4c85d8d21e2722fac7e
parentb0d24e262f2ca3ba4f8d3f60248d30209b0a39a2 (diff)
Add `-mtc=off` to `7z` not to store NTFS timestamps
https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 6e9b837588..2abe8f99dc 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -54,7 +54,7 @@ PACKAGES = {
DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
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}
+ PACKAGES["zip"] = %w".zip 7z a -tzip -mx -mtc=off" << {out: IO::NULL}
elsif gzip = ENV.delete("GZIP")
PACKAGES["gzip"].concat(gzip.shellsplit)
end