diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-22 10:59:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-22 10:59:32 +0900 |
commit | 821aa35c8bdccebaa373e68f929b681001e6a772 (patch) | |
tree | 8c39c22235658473bf221e062276d4877f9987cc | |
parent | 11cd9339a8fbbfd1f4d12c824eee8e3f8dd53bf3 (diff) |
make-snapshot: suppress messages copying cached files unless verbose
-rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index d9f3d79524..ca4074707f 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 |