diff options
author | Wayne Davison <wayned@samba.org> | 2007-11-20 08:40:15 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-11-20 08:40:15 -0800 |
commit | 3005a12bcec665882d17f472cf19802c0d965a2f (patch) | |
tree | 684ac3329e6528ab3109a03a1469ae1a28ada33a /configure | |
parent | fd913297faad60dab4cdaa01400e9ad7d8ce7104 (diff) | |
download | rsync-3005a12bcec665882d17f472cf19802c0d965a2f.tar.gz |
Only allow the build farm to rsync the latest generated
configure files when building them fails.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -16,8 +16,12 @@ if [ ! -f "$realconfigure" ]; then make -f prepare-source.mak proto.h if make -f prepare-source.mak conf; then : - else + elif [ -f "$HOME/build_farm/build_test.fns" ]; then + # Allow the build farm to grab latest files via rsync. 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 + exit 1 fi if test x"$curdir" != x; then cd "$curdir" |