]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Make sure that a failure to build configure.sh or config.h.in
authorWayne Davison <wayned@samba.org>
Wed, 21 Nov 2007 01:22:47 +0000 (17:22 -0800)
committerWayne Davison <wayned@samba.org>
Wed, 21 Nov 2007 01:22:47 +0000 (17:22 -0800)
doesn't leave a file lying around that could deceive us on the
next run.

configure

index a8d348024285587131b16a9851b9a1b5cd2eba49..811a9d2fb447ac7d22d314c126dfa1ba5db318fa 100755 (executable)
--- 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