summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/src/main/assembly/bin/run.sh
diff options
context:
space:
mode:
authortang peng <tang.peng5@zte.com.cn>2017-09-18 06:22:52 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-18 06:22:52 +0000
commita09c48de632f3c8a42ae846554c685206df59942 (patch)
tree657929e59094035d2c7e85ffa6c0100bd61e41b0 /rulemgt-standalone/src/main/assembly/bin/run.sh
parent0f6bdecfaa162123ae26727b36031516f6839c3a (diff)
parentd5e59a99557d9ff2bcc0f34a9f38860c74010e96 (diff)
Merge "Fix the Grammatical Error in the Script"
Diffstat (limited to 'rulemgt-standalone/src/main/assembly/bin/run.sh')
-rw-r--r--rulemgt-standalone/src/main/assembly/bin/run.sh4
1 files changed, 3 insertions, 1 deletions
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