summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 1 insertions, 1 deletions
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::
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