summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-29 23:21:51 -0800
committerWayne Davison <wayned@samba.org>2007-11-29 23:21:51 -0800
commitbcfb738c93a586283457ea1c7015f321fd1f3f48 (patch)
tree6f12f9addc109eda99f1cb179462855ced7fd969 /configure
parentb58f5e17ed35c68e10b88869d1e10d5378bd40e0 (diff)
downloadrsync-bcfb738c93a586283457ea1c7015f321fd1f3f48.tar.gz
rsync-bcfb738c93a586283457ea1c7015f321fd1f3f48.tar.bz2
rsync-bcfb738c93a586283457ea1c7015f321fd1f3f48.zip
One build-farm system needs to fetch the proto.h* files too.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index cc4bcb63..96198f6b 100755
--- a/configure
+++ b/configure
@@ -17,7 +17,12 @@ if [ ! -f "$realconfigure" ]; then
:
elif [ -f "$HOME/build_farm/build_test.fns" ]; then
# Allow the build farm to grab latest files via rsync.
- rsync -pvz rsync://rsync.samba.org/rsyncftp/generated-files/'c*' .
+ if perl --version >/dev/null; then
+ files='c*'
+ else
+ files='[cp]*'
+ fi
+ rsync -pvz rsync://rsync.samba.org/rsyncftp/generated-files/"$files" .
else
echo 'Failed to build configure.sh and/or config.h.in -- giving up.' >&2
rm -f "$realconfigure"