From bf4186bc72cf5dff44d3e35e2d8d6f28e613c9a3 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 17 Feb 2000 07:37:53 +0000 Subject: Create a tempfile a bit later on so it doesnt get left behind. Submitted by: ade --- devel/gnu-autoconf/files/patch-ad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'devel/gnu-autoconf') diff --git a/devel/gnu-autoconf/files/patch-ad b/devel/gnu-autoconf/files/patch-ad index f8a4d1ae6b0c..4d5742be10e5 100644 --- a/devel/gnu-autoconf/files/patch-ad +++ b/devel/gnu-autoconf/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 -- cgit