diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-02 00:41:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-02 00:42:23 +0900 |
commit | f82cf05626a3020e01b2551fc0cc78a9365fe7b5 (patch) | |
tree | a55dafe26bec51459f8c177a089d291366b6e23e /tool | |
parent | 007d6d15f4aeea266d4d88e0541ab45a34a1dcd4 (diff) |
Fixed the directory to be removed
Diffstat (limited to 'tool')
-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 d441f6218f..73a97fae0d 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -507,7 +507,7 @@ after-update:: 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 |