From d9b5bef484a6a777a484cc919ef0a2de71e96b27 Mon Sep 17 00:00:00 2001 From: thierry Date: Fri, 29 Jun 2007 10:10:44 +0000 Subject: [PATCH] fix rsync push - mkdir -p for multiple runs --- scripts/nightly-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 $? -- 2.43.0