1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

make-snapshot: suppress output from 7z [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-06-15 02:33:57 +00:00
parent 4d4fabafb3
commit 95797e13d4

View file

@ -49,7 +49,7 @@ if system("7z", out: IO::NULL)
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"
PACKAGES["zip"] = %w".zip 7z a -tzip -mx" << {out: IO::NULL}
end
end
if gzip = ENV.delete("GZIP")
@ -392,7 +392,13 @@ update-gems:
done = system(*cmd, tarball, out: file)
else
print "creating #{mesg} archive... #{file}"
done = system(*cmd, file, v)
if Hash === cmd.last
*cmd, opt = *cmd
cmd << file << v << opt
else
(cmd = cmd.dup) << file << v
end
done = system(*cmd)
end
if done
puts " done"