diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-09-23 00:55:48 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-09-23 00:55:48 +0900 |
commit | d8221a54f2c5729573ddb03cb51d638ae74cc876 (patch) | |
tree | f7d5563d0eb470d1565ae4c85d8d21e2722fac7e /tool/make-snapshot | |
parent | b0d24e262f2ca3ba4f8d3f60248d30209b0a39a2 (diff) |
Add `-mtc=off` to `7z` not to store NTFS timestamps
https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-x | tool/make-snapshot | 2 |
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 |