changeset 787:f199e1887889

Drop -t option from mktemp
author mpm@selenic.com
date Thu, 28 Jul 2005 07:46:08 -0800
parents 902b12d55751
children 64d2a558c943 445970ccf57a d0fb9efa2b2d
files tests/run-tests
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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