From dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 20 Nov 2007 17:22:47 -0800 Subject: [PATCH] Make sure that a failure to build configure.sh or config.h.in doesn't leave a file lying around that could deceive us on the next run. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index a8d34802..811a9d2f 100755 --- a/configure +++ b/configure @@ -21,6 +21,7 @@ if [ ! -f "$realconfigure" ]; then rsync -avz rsync://rsync.samba.org/rsyncftp/generated-files/'c*' . else echo 'Failed to build configure.sh and/or config.h.in -- giving up.' >&2 + rm -f "$realconfigure" exit 1 fi if test x"$curdir" != x; then -- 2.34.1