diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-02-17 07:37:53 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-02-17 07:37:53 +0000 |
commit | 59f11ba8e5a4cd4ce0af0977b9b6b38b4b08c505 (patch) | |
tree | b792bcc75dde15b7b5dd5e6d928b10ecc5f4c5c8 /devel/autoconf253 | |
parent | bf5b9e63a0590b413fed1d0b3f2acc5da424194b (diff) | |
download | ports-59f11ba8e5a4cd4ce0af0977b9b6b38b4b08c505.tar.gz ports-59f11ba8e5a4cd4ce0af0977b9b6b38b4b08c505.zip |
Create a tempfile a bit later on so it doesnt get left behind.
Submitted by: ade
Notes
Notes:
svn path=/head/; revision=25927
Diffstat (limited to 'devel/autoconf253')
-rw-r--r-- | devel/autoconf253/files/patch-ad | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/autoconf253/files/patch-ad b/devel/autoconf253/files/patch-ad index f8a4d1ae6b0c..4d5742be10e5 100644 --- a/devel/autoconf253/files/patch-ad +++ b/devel/autoconf253/files/patch-ad @@ -1,19 +1,19 @@ ---- autoconf.sh.orig Mon Nov 22 21:47:28 1999 -+++ autoconf.sh Mon Nov 22 21:49:50 1999 -@@ -45,7 +45,7 @@ +--- autoconf.sh.orig Tue Jan 5 07:27:53 1999 ++++ autoconf.sh Wed Feb 16 11:17:50 2000 +@@ -45,7 +45,6 @@ esac : ${TMPDIR=/tmp} -tmpout=${TMPDIR}/acout.$$ -+tmpout=`mktemp ${TMPDIR}/acout.XXXXXXXXXX` || exit 1 localdir= show_version=no -@@ -97,7 +97,8 @@ +@@ -97,7 +96,9 @@ trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15 -tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's. ++tmpout=`mktemp ${TMPDIR}/acout.XXXXXXXXXX` || exit 1 +tmpin=`mktemp ${TMPDIR}/acin.XXXXXXXXXX` || { rm -f $tmpout; exit 1; } +# Always set this, to avoid bogus errors from some rm's. if test z$infile = z-; then |