[前][次][番号順一覧][スレッド一覧]

ruby-changes:57385

From: Kazuhiro <ko1@a...>
Date: Fri, 30 Aug 2019 00:35:53 +0900 (JST)
Subject: [ruby-changes:57385] Kazuhiro NISHIYAMA: a8b310e14c (master): 7z does not accept gzip's options

https://git.ruby-lang.org/ruby.git/commit/?id=a8b310e14c

From a8b310e14c2816f686b2e0b1cd1dca72f02fdf0d Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Fri, 30 Aug 2019 00:35:18 +0900
Subject: 7z does not accept gzip's options

e.g. `GZIP=-9`

diff --git a/tool/make-snapshot b/tool/make-snapshot
index 9199cc2..8ce1421 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -58,8 +58,7 @@ PACKAGES = { https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L58
 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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]