diff options
author | kris <kris@FreeBSD.org> | 2000-02-17 07:37:53 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-17 07:37:53 +0000 |
commit | bf4186bc72cf5dff44d3e35e2d8d6f28e613c9a3 (patch) | |
tree | dbf27e3cef6605b18dc2d6454b1ec85dd6bdaffe /devel/autoconf262/files | |
parent | 3c26a2a018b16205a54234a187c044a57ec69024 (diff) | |
download | FreeBSD-ports-bf4186bc72cf5dff44d3e35e2d8d6f28e613c9a3.zip FreeBSD-ports-bf4186bc72cf5dff44d3e35e2d8d6f28e613c9a3.tar.gz |
Create a tempfile a bit later on so it doesnt get left behind.
Submitted by: ade
Diffstat (limited to 'devel/autoconf262/files')
-rw-r--r-- | devel/autoconf262/files/patch-ad | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/autoconf262/files/patch-ad b/devel/autoconf262/files/patch-ad index f8a4d1a..4d5742b 100644 --- a/devel/autoconf262/files/patch-ad +++ b/devel/autoconf262/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 |