diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-15 11:51:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-15 11:51:39 +0000 |
commit | bd8412b74f50d9ec7bee369970598532a828ed99 (patch) | |
tree | 056448b8fd24fe6e7ee01b9ff7cd55ba0deb7945 /tool | |
parent | 88de87c2952b08d7f264c7788069a9b6c2fa9309 (diff) | |
download | ruby-bd8412b74f50d9ec7bee369970598532a828ed99.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-x | tool/make-snapshot | 8 |
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) |