From 0f6dfe71bdab3b8cb56cda7ca05b5af984b8d938 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Mon, 18 Sep 2017 14:16:08 +0800 Subject: Fix the Grammatical Error in the Script Change-Id: I5928694e31521754737d40c22d8fd4cef6de0b17 Issue-ID: HOLMES-45 Signed-off-by: Guangrong Fu --- engine-d-standalone/src/main/assembly/bin/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine-d-standalone') 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 -- cgit 1.2.3-korg