aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 11:51:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-15 11:51:39 +0000
commit27a0d024c55afa4b2aabc420452619209edc815b (patch)
tree056448b8fd24fe6e7ee01b9ff7cd55ba0deb7945 /tool
parent358dd2d705478026bdac55f7ee0690364363f25e (diff)
downloadruby-27a0d024c55afa4b2aabc420452619209edc815b.tar.gz
Revert r59084, see r57060
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot8
1 files changed, 2 insertions, 6 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 4684dab234..0e467894d9 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -47,12 +47,8 @@ PACKAGES = {
}
if system("7z", out: IO::NULL)
- unless system(PACKAGES["gzip"][1..-1], in: IO::NULL, out: IO::NULL, err: :close)
- PACKAGES["gzip"] = %w".tar.gz 7z a dummy -tgzip -mx -so"
- end
- unless system(PACKAGES["zip"][1..-1], in: IO::NULL, out: IO::NULL, err: :close)
- PACKAGES["zip"] = %w".zip 7z a -tzip -mx" << {out: IO::NULL}
- end
+ 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")
PACKAGES["gzip"].concat(gzip.shellsplit)