diff --exclude='*~' --exclude='.*' -I '$Id:' -urN shtool-2.0.1.orig/sh.common shtool-2.0.1/sh.common --- shtool-2.0.1.orig/sh.common 2005-05-24 18:47:37.000000000 -0400 +++ shtool-2.0.1/sh.common 2005-05-24 18:51:21.000000000 -0400 @@ -168,10 +168,7 @@ else tmpdir="/tmp" fi - tmpfile="$tmpdir/.shtool.$$" - rm -f $tmpfile >/dev/null 2>&1 - touch $tmpfile - chmod 600 $tmpfile + tmpfile=`mktemp "$tmpdir/.shtool.XXXXXX"` fi # utility function: map string to lower case