$OpenBSD: patch-autoupdate_sh,v 1.1 2004/07/24 15:48:49 espie Exp $ --- autoupdate.sh.orig Tue Jan 5 14:28:42 1999 +++ autoupdate.sh Sat Jul 24 17:40:26 2004 @@ -26,7 +26,7 @@ usage="\ Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir] [--version] [template-file]" -sedtmp=/tmp/acups.$$ +sedtmp=`mktemp ${TMPDIR-/tmp}/acups.XXXXXXXXXX` || exit 1 # For debugging. #sedtmp=/tmp/acups show_version=no @@ -66,7 +66,7 @@ fi : ${SIMPLE_BACKUP_SUFFIX='~'} -tmpout=acupo.$$ +tmpout=`mktemp acupo.XXXXXXXXXX` || { rm -f $sedtmp; exit 1; } trap 'rm -f $sedtmp $tmpout; exit 1' 1 2 15 case $# in 0) infile=configure.in; out="> $tmpout"