Drop -t option from mktemp
authormpm@selenic.com
Thu, 28 Jul 2005 07:46:08 -0800
changeset 787 f199e1887889
parent 786 902b12d55751
child 788 64d2a558c943
child 793 445970ccf57a
child 809 d0fb9efa2b2d
Drop -t option from mktemp
tests/run-tests
--- a/tests/run-tests	Wed Jul 27 18:50:32 2005 -0800
+++ b/tests/run-tests	Thu Jul 28 07:46:08 2005 -0800
@@ -47,7 +47,7 @@
 {
     rm -f $1.err
     export TZ=GMT
-    D=`mktemp -d -t tmp.XXXXXX`
+    D=`mktemp -d ${TMP-/tmp}/tmp.XXXXXX`
     if [ "$D" = "" ] ; then
 	echo mktemp failed!
     fi