aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-04 21:50:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-04 21:50:43 +0000
commit0601276102fa3f8b5270ba8e72fdce32670f4c00 (patch)
tree75536f10f439f829c5a520ea202cff65811909cd /scripts/auto-build
parentca20ceb186f9b5e38357b90c73af549a640fa21e (diff)
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
Diffstat (limited to 'scripts/auto-build')
-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