diff options
author | 2017-03-06 09:09:15 +0100 | |
---|---|---|
committer | 2017-03-06 09:09:15 +0100 | |
commit | ece4d84f500a9ecb34cabe92edaeee7993e282f8 (patch) | |
tree | c398558f39eefcd57947b412d5fa192688da85d0 /jjb/release-jjb-chinook-snapshot | |
parent | b854c21a7e8183622814e9583795e6c15a84809a (diff) |
Use mkdir with -p
Change-Id: Ibd7d05708950c86e0f0caf55827a4d5056ce876c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/release-jjb-chinook-snapshot')
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh index eddbbc6a..50944a8f 100644 --- a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh @@ -47,7 +47,7 @@ ls -alhR $DEST echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST " if test x"yes" = x"$UPLOAD" ; then - ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir ${REMOTEDST} + ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${REMOTEDST} rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST fi |