aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-21 03:23:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-21 03:23:54 +0000
commit9cecd539906fa1556eb9f4177b00a29c6370848b (patch)
tree57aa4f62cb5833af5a19fb4643cd3f03c3abfeed
parent6213cc1bf403fd6e566922f0ace191e94e6287d5 (diff)
changed rsync option to --delete-before so it will delete everything before it tries to transfer files, in case the file transfer fails, like it does a lot on Windows
svn path=/trunk/; revision=11077
-rw-r--r--scripts/auto-build/auto-build-common2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common
index 72cde508..f76c683f 100644
--- a/scripts/auto-build/auto-build-common
+++ b/scripts/auto-build/auto-build-common
@@ -68,7 +68,7 @@ rsync_distro()
# let rsync handle the cleanup with --delete
DISTRO=$(basename $1)
echo "rsyncing $DISTRO to ${1}:"
- RSYNC_COMMAND="rsync -a --delete rsync://128.238.56.50/distros/${DISTRO}/ ${1}/"
+ RSYNC_COMMAND="rsync -a --delete-before rsync://128.238.56.50/distros/${DISTRO}/ ${1}/"
case $SYSTEM in
mingw*)
/c/cygwin/bin/sh -c "$RSYNC_COMMAND"