diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-26 14:17:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-26 14:17:30 +0900 |
commit | 24e5f1c982966c379220b1bbb26b4e0320180fa1 (patch) | |
tree | bfc22b79664842955fb49810f100a439d5c2aea5 /tool/make-snapshot | |
parent | 165a098ffce1b74d83d98d93acd3178b900de9bc (diff) | |
download | ruby-24e5f1c982966c379220b1bbb26b4e0320180fa1.tar.gz |
Ignore 7z unless available
`DebugSystem#system` is prepended in vcs.rb and defaulted to
`exception: true`.
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 589d742e50..1e56f94e0f 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -56,7 +56,7 @@ PACKAGES = { "zip" => %w".zip zip -Xqr", } DEFAULT_PACKAGES = PACKAGES.keys - ["tar"] -if !$no7z and system("7z", out: IO::NULL) +if !$no7z and system("7z", out: IO::NULL, exception: false) PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so" PACKAGES["zip"] = %w".zip 7z a -tzip -l -mx -mtc=off" << {out: IO::NULL} elsif gzip = ENV.delete("GZIP") |