This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
[Patch] remove temp file in sanity check
- To: <automake at gnu dot org>
- Subject: [Patch] remove temp file in sanity check
- From: Peter Eisentraut <peter_e at gmx dot net>
- Date: Fri, 27 Apr 2001 23:23:42 +0200 (CEST)
- List-Id: Discussion list for automake <automake.gnu.org>
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)])