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

ruby-changes:57864

From: Nobuyoshi <ko1@a...>
Date: Sun, 22 Sep 2019 22:36:03 +0900 (JST)
Subject: [ruby-changes:57864] b0d24e262f (master): make-snapshot: Added -no7z option

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

From b0d24e262f2ca3ba4f8d3f60248d30209b0a39a2 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 22 Sep 2019 22:26:07 +0900
Subject: make-snapshot: Added -no7z option

It disables 7z, which seems not to have an option to stop saving
extra file attributes (uid/gid and atime), in order to make zip
packages stable.

diff --git a/tool/make-snapshot b/tool/make-snapshot
index f5f0ed2..6e9b837 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -52,7 +52,7 @@ PACKAGES = { https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L52
   "zip"  => %w".zip     zip -Xqr",
 }
 DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
-if system("7z", out: IO::NULL)
+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}
 elsif gzip = ENV.delete("GZIP")
-- 
cgit v0.10.2


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

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