From: thierry Date: Fri, 29 Jun 2007 10:10:44 +0000 (+0000) Subject: fix rsync push - mkdir -p for multiple runs X-Git-Tag: foo~451 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d9b5bef484a6a777a484cc919ef0a2de71e96b27;p=infrastructure.git fix rsync push - mkdir -p for multiple runs --- diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index d262dc6..264567c 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -117,8 +117,8 @@ function runtest () { # compute test directory name on test box testdir=plctest-${buildname} # rsync/push test material onto the test box - ssh ${TESTBOXSSH} mkdir ${testdir} - rsync -a -v plctest/ ${TESTBOXSSH}/${testdir} + ssh ${TESTBOXSSH} mkdir -p ${testdir} + rsync -a -v plctest/ ${TESTBOXSSH}:${testdir} # invoke test on testbox ssh ${TESTBOXSSH} ${testdir}/${TESTSCRIPT} ${url} return $?