ruby-changes:57507
From: Nobuyoshi <ko1@a...>
Date: Tue, 3 Sep 2019 11:58:30 +0900 (JST)
Subject: [ruby-changes:57507] b0a7221dcf (master): Touch the toplevel directory too
https://git.ruby-lang.org/ruby.git/commit/?id=b0a7221dcf From b0a7221dcf998d72efe57cd7ab75260d80941109 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 3 Sep 2019 11:43:38 +0900 Subject: Touch the toplevel directory too diff --git a/tool/make-snapshot b/tool/make-snapshot index b6cd606..2476df5 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -486,8 +486,11 @@ after-update:: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L486 else FileUtils.rm_rf("gems") end - touch_all(modified, "**/*/", 0) do |name, stat| - stat.mtime > modified + if modified + touch_all(modified, "**/*/", 0) do |name, stat| + stat.mtime > modified + end + File.utime(modified, modified, ".") end unless $?.success? puts $colorize.fail(" failed") -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/