aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh11
1 files changed, 9 insertions, 2 deletions
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