From 0601276102fa3f8b5270ba8e72fdce32670f4c00 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 4 Dec 2007 21:50:43 +0000 Subject: the latest version of cygwin's rsync now seems to completely not work under MinGW, previously downloading worked, but not uploading svn path=/trunk/; revision=9078 --- scripts/auto-build/pd-extended-auto-builder.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'scripts/auto-build') diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh index 30bcd3a5..4c5935b6 100755 --- a/scripts/auto-build/pd-extended-auto-builder.sh +++ b/scripts/auto-build/pd-extended-auto-builder.sh @@ -39,8 +39,15 @@ auto_build_root_dir=`pwd` echo "root: $auto_build_root_dir" # let rsync handle the cleanup with --delete -rsync -a --delete rsync://128.238.56.50/distros/pd-extended/ \ - ${auto_build_root_dir}/ +case $SYSTEM in + mingw*) + /c/cygwin/bin/sh --login -c \ + "rsync -a --delete rsync://128.238.56.50/distros/pd-extended/ ${auto_build_root_dir}/" + ;; + *) + rsync -a --delete rsync://128.238.56.50/distros/pd-extended/ ${auto_build_root_dir}/ + ;; +esac cd "${auto_build_root_dir}/packages/$BUILD_DIR" make -C "${auto_build_root_dir}/packages" set_version -- cgit v1.2.1