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

make-snapshot: suppress messages copying cached files unless verbose

This commit is contained in:
Nobuyoshi Nakada 2020-11-22 10:59:32 +09:00
parent 11cd9339a8
commit 821aa35c8b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -311,7 +311,7 @@ def package(vcs, rev, destdir, tmp = nil)
end
if $srcdir
Dir.glob($srcdir + "/{tool/config.{guess,sub},gems/*.gem,.downloaded-cache/*,enc/unicode/data/**/*.txt}") do |file|
puts "copying #{file}"
puts "copying #{file}" if $VERBOSE
dest = exported + file[$srcdir.size..-1]
FileUtils.mkpath(File.dirname(dest))
begin