From 9cecd539906fa1556eb9f4177b00a29c6370848b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 21 Apr 2009 03:23:54 +0000 Subject: 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 --- scripts/auto-build/auto-build-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit v1.2.1