diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-02-17 16:22:01 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-02-17 16:22:01 +0800 |
commit | 56473c5c7f537b719a3b6c96067a72ac3569955a (patch) | |
tree | 550cbabcdf99db217b63a213322bf534bc00df90 /ci | |
parent | b4a8959bffaa5f5f7894ab5a0bd8f1fb1bb2320f (diff) |
Add missing brackets
Change-Id: Ia1f437cad2c4d42e72d4b53cdd6a4f7f00a29edf
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy/deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh index 83e9b361..e68368a6 100755 --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@ -252,7 +252,7 @@ sleep 20 echo "====== install daisy===========" $deploy_path/trustme.sh $DAISY_IP $DAISY_PASSWD -ssh $SSH_PARAS $DAISY_IP "if [[ -f ${REMOTE_SPACE} || -d ${REMOTE_SPACE}; then rm -fr ${REMOTE_SPACE}; fi" +ssh $SSH_PARAS $DAISY_IP "if [[ -f ${REMOTE_SPACE} || -d ${REMOTE_SPACE} ]]; then rm -fr ${REMOTE_SPACE}; fi" scp -r $WORKSPACE root@$DAISY_IP:${REMOTE_SPACE} ssh $SSH_PARAS $DAISY_IP "mkdir -p /home/daisy_install" update_config $WORKSPACE/deploy/daisy.conf daisy_management_ip $DAISY_IP |