From: Guangrong Fu Date: Mon, 18 Sep 2017 06:16:08 +0000 (+0800) Subject: Fix the Grammatical Error in the Script X-Git-Tag: v1.0.0~35 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=holmes%2Fengine-management.git;a=commitdiff_plain;h=0f6dfe71bdab3b8cb56cda7ca05b5af984b8d938 Fix the Grammatical Error in the Script Change-Id: I5928694e31521754737d40c22d8fd4cef6de0b17 Issue-ID: HOLMES-45 Signed-off-by: Guangrong Fu --- diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index eeed056..c48bc57 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # # Copyright 2017 ZTE Corporation. # @@ -41,7 +43,7 @@ sed -i "s|url:.*|url: jdbc:postgresql://$URL_JDBC/holmes|" "$main_path/conf/engi export SERVICE_IP=`hostname -i` echo SERVICE_IP=${SERVICE_IP} -if [ ${TESTING} == 1 ]; then +if [ ${TESTING}==1 ]; then export HOSTNAME=${SERVICE_IP}:9102 fi