summaryrefslogtreecommitdiffstats
path: root/devel/autoconf261
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-17 07:37:53 +0000
committerkris <kris@FreeBSD.org>2000-02-17 07:37:53 +0000
commitbf4186bc72cf5dff44d3e35e2d8d6f28e613c9a3 (patch)
treedbf27e3cef6605b18dc2d6454b1ec85dd6bdaffe /devel/autoconf261
parent3c26a2a018b16205a54234a187c044a57ec69024 (diff)
downloadFreeBSD-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/autoconf261')
-rw-r--r--devel/autoconf261/files/patch-ad10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/autoconf261/files/patch-ad b/devel/autoconf261/files/patch-ad
index f8a4d1a..4d5742b 100644
--- a/devel/autoconf261/files/patch-ad
+++ b/devel/autoconf261/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
OpenPOWER on IntegriCloud