Merge "Fix the Grammatical Error in the Script"
authortang peng <tang.peng5@zte.com.cn>
Mon, 18 Sep 2017 06:22:52 +0000 (06:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 18 Sep 2017 06:22:52 +0000 (06:22 +0000)
rulemgt-standalone/src/main/assembly/bin/run.sh

index 487d691..bad26c7 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 #
 # Copyright 2017 ZTE Corporation.
 #
@@ -37,7 +39,7 @@ sed -i "s|msbServerAddr:.*|msbServerAddr: http://$MSB_ADDR|" "$main_path/conf/ru
 export SERVICE_IP=`hostname -i`
 echo SERVICE_IP=${SERVICE_IP}
 
-if [ ${TESTING} == 1 ]; then
+if [ ${TESTING}==1 ]; then
     export HOSTNAME=${SERVICE_IP}:9101
 fi