From: Guangrong Fu Date: Mon, 18 Sep 2017 06:16:43 +0000 (+0800) Subject: Fix the Grammatical Error in the Script X-Git-Tag: v1.0.0~49^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=holmes%2Frule-management.git;a=commitdiff_plain;h=d5e59a99557d9ff2bcc0f34a9f38860c74010e96 Fix the Grammatical Error in the Script Change-Id: Ic1fd8971d0e80c85a42bcd4d14561228ab3b42f2 Issue-ID: HOLMES-45 Signed-off-by: Guangrong Fu --- diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index 487d691..bad26c7 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -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