summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-11-22 10:59:32 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-11-22 10:59:32 +0900
commit821aa35c8bdccebaa373e68f929b681001e6a772 (patch)
tree8c39c22235658473bf221e062276d4877f9987cc
parent11cd9339a8fbbfd1f4d12c824eee8e3f8dd53bf3 (diff)
make-snapshot: suppress messages copying cached files unless verbose
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index d9f3d79..ca40747 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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