chiark / gitweb /
provide a global temporary directory
[topgit.git] / tg-export.sh
index 4b0148c..1d0533e 100644 (file)
@@ -57,8 +57,7 @@ if [ -z "$branches" ]; then
 fi
 
 
-playground="$(mktemp -d -t tg-export.XXXXXX)"
-trap 'rm -rf "$playground"' EXIT
+playground="$(get_temp tg-export -d)"
 
 
 ## Collapse driver