[compass-bugfix] lack of "then" 45/14545/1
authormeimei <meimei@huawei.com>
Tue, 24 May 2016 03:19:32 +0000 (11:19 +0800)
committermeimei <meimei@huawei.com>
Tue, 24 May 2016 03:20:50 +0000 (11:20 +0800)
Change-Id: Id33543777ba227214f92770db730051326cba25f
Signed-off-by: meimei <meimei@huawei.com>
jjb/compass4nfv/compass-deploy.sh

index 098cfe9..7d09d53 100644 (file)
@@ -25,7 +25,7 @@ echo 1 > /proc/sys/vm/drop_caches
 export CONFDIR=$WORKSPACE/deploy/conf
 export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
 
 export CONFDIR=$WORKSPACE/deploy/conf
 export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
 
-if [[ "${DEPLOY_SCENARIO}" =~ "-ocl" ]]
+if [[ "${DEPLOY_SCENARIO}" =~ "-ocl" ]]; then
     export NETWORK_CONF_FILE=network_ocl.yml
 else
     export NETWORK_CONF_FILE=network.yml
     export NETWORK_CONF_FILE=network_ocl.yml
 else
     export NETWORK_CONF_FILE=network.yml