Code Review
/
holmes
/
engine-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix the Grammatical Error in the Script
[holmes/engine-management.git]
/
engine-d-standalone
/
src
/
main
/
assembly
/
bin
/
run.sh
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
(file)
--- 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