From 8418c24f375288de74cb81671c91cdcdbc48242d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 21 Oct 2006 04:09:40 +0000 Subject: made rsync uploads use cygwin shells since Cygwin's rsync doesn't like MinGW's ssh, a requirement for uploading svn path=/trunk/; revision=6150 --- scripts/auto-build/run-automated-builder | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/auto-build/run-automated-builder') diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder index f07df952..4d9dbe15 100755 --- a/scripts/auto-build/run-automated-builder +++ b/scripts/auto-build/run-automated-builder @@ -16,7 +16,11 @@ run_build_script () sh /home/pd/auto-build/${distro}/scripts/auto-build/${distro}-auto-builder.sh >> $LOGFILE 2>&1 +if [ "x$SYSTEM" == "xmingw" ]; then + /c/cygwin/bin/sh --login -c "rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/logs/" +else rsync -a ${LOGFILE} rsync://128.238.56.50/upload/${DATE}/logs/ +fi # send status report if something failed completion_test=`tail -1 ${LOGFILE}` -- cgit v1.2.1