From: Feng Pan Date: Wed, 26 Oct 2016 15:19:57 +0000 (-0400) Subject: Fix syntax error in overcloud-deploy-functions.sh X-Git-Tag: danube.1.0~146 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2281c5aa99424b2ba4a828dccc0c67aaa4b4838c;p=apex.git Fix syntax error in overcloud-deploy-functions.sh Change-Id: Ie13eaac89c8ce60d7e8c36d21437d536c758688a Signed-off-by: Feng Pan --- diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index a42162f2..96cf242d 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -121,7 +121,7 @@ EOI fi # upgrade ovs into ovs 2.5.90 with NSH function if SFC is enabled - if [ "${deploy_options_array['sfc']}" == 'True' && "${deploy_options_array['dataplane']}" == 'ovs' ]; then + if [[ "${deploy_options_array['sfc']}" == 'True' && "${deploy_options_array['dataplane']}" == 'ovs' ]]; then ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <