ruby-changes:57469
From: Nobuyoshi <ko1@a...>
Date: Mon, 2 Sep 2019 00:42:52 +0900 (JST)
Subject: [ruby-changes:57469] Nobuyoshi Nakada: f82cf05626 (master): Fixed the directory to be removed
https://git.ruby-lang.org/ruby.git/commit/?id=f82cf05626 From f82cf05626a3020e01b2551fc0cc78a9365fe7b5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 2 Sep 2019 00:41:45 +0900 Subject: Fixed the directory to be removed diff --git a/tool/make-snapshot b/tool/make-snapshot index d441f62..73a97fa 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -507,7 +507,7 @@ after-update:: https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L507 end end.compact ensure - FileUtils.rm_rf(v) if v and !$exported and !$keep_temp + FileUtils.rm_rf(tmp ? File.join(tmp, v) : v) if v and !$exported and !$keep_temp Dir.chdir(pwd) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/