From a8b310e14c2816f686b2e0b1cd1dca72f02fdf0d Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 30 Aug 2019 00:35:18 +0900 Subject: 7z does not accept gzip's options e.g. `GZIP=-9` --- tool/make-snapshot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tool/make-snapshot b/tool/make-snapshot index 9199cc2097..8ce14214ba 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -58,8 +58,7 @@ PACKAGES = { if 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} -end -if gzip = ENV.delete("GZIP") +elsif gzip = ENV.delete("GZIP") PACKAGES["gzip"].concat(gzip.shellsplit) end -- cgit v1.2.3