chiark / gitweb /
provide a global temporary directory
[topgit.git] / tg-summary.sh
index af16888c1797db909dbcff7d2ff15c1cf0ec0b28..612bd27443779266de3385dfce6b2812be81f85a 100644 (file)
@@ -55,10 +55,9 @@ EOT
 fi
 
 if [ -n "$sort" ]; then
-       tsort_input=`mktemp`
+       tsort_input="$(get_temp tg-summary-sort)"
        exec 4>$tsort_input
        exec 5<$tsort_input
-       rm $tsort_input
 fi
 
 ## List branches