diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-18 14:16:08 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-18 14:16:08 +0800 |
commit | 0f6dfe71bdab3b8cb56cda7ca05b5af984b8d938 (patch) | |
tree | cc02aad4880f81dc141b14456556b2500b4e815a /engine-d-standalone | |
parent | 021187ca7c07e1a7227d894fe728965a190e5c8c (diff) |
Fix the Grammatical Error in the Script
Change-Id: I5928694e31521754737d40c22d8fd4cef6de0b17
Issue-ID: HOLMES-45
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |