summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-20 17:22:47 -0800
committerWayne Davison <wayned@samba.org>2007-11-20 17:22:47 -0800
commitdc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d (patch)
tree6be1d8b26f28374809a30af05f8cbed8e3557953 /configure
parent3005a12bcec665882d17f472cf19802c0d965a2f (diff)
downloadrsync-dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d.tar.gz
rsync-dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d.tar.bz2
rsync-dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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