This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Patch] remove temp file in sanity check


2001-04-27  Peter Eisentraut  <peter_e@gmx.net>

	* m4/sanity.m4: Remove the temp file before possible error exits.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter
Index: m4/sanity.m4
===================================================================
RCS file: /cvs/automake/m4/sanity.m4,v
retrieving revision 1.11
diff -u -r1.11 sanity.m4
--- m4/sanity.m4	2001/01/25 15:50:36	1.11
+++ m4/sanity.m4	2001/04/27 21:09:31
@@ -22,6 +22,7 @@
       # -L didn't work.
       set X `ls -t $srcdir/configure conftest.file`
    fi
+   rm -f conftest.file
    if test "$[*]" != "X $srcdir/configure conftest.file" \
       && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
@@ -42,5 +43,4 @@
    AC_MSG_ERROR([newly created file is older than distributed files!
 Check your system clock])
 fi
-rm -f conftest*
 AC_MSG_RESULT(yes)])

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]