summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly/bin/initDB.sh
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2021-03-25 19:53:31 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2021-04-13 08:17:16 +0800
commitb9a4abd42449d89b5084d65ef00667b58753f4c8 (patch)
tree5e8088c5b1cc777a314719c72e83b547f8272283 /engine-d-standalone/src/main/assembly/bin/initDB.sh
parent54ab9e036714ee36af659a301a9163c7319c2ce9 (diff)
Bumped the version to 1.3.2
Change-Id: I51895169c770b53568ebf764a44ced76cb136ac9 Issue-ID: HOLMES-428 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin/initDB.sh')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/initDB.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/initDB.sh b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index 2e5d605..94e7607 100644
--- a/engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/engine-d-standalone/src/main/assembly/bin/initDB.sh
@@ -47,8 +47,8 @@ if [ -z `env | grep PGPASSWORD` ]; then
need_unset=1
fi
-psql -U "$user" -p "$port" -h "$host" -d "$dbname" -f $main_path/dbscripts/postgresql/onap-holmes_engine-createobj.sql
-psql -U "$user" -p "$port" -h "$host" -d "$dbname" --command 'select * from alarm_info;'
+psql -U "'$user'" -p "'$port'" -h "'$host'" -d "'$dbname'" -f $main_path/dbscripts/postgresql/onap-holmes_engine-createobj.sql
+psql -U "'$user'" -p "'$port'" -h "'$host'" -d "'$dbname'" --command 'select * from alarm_info;'
sql_result=$?
if [ "$need_unset"x == "1"x ]; then