From 09da4ec1f7a52fa293370304ef491aa88025f4df Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Thu, 25 Mar 2021 19:47:46 +0800 Subject: Replace the UI Certs Change-Id: I4012f7f500e37773c1b00516a6495c224789a47e Issue-ID: HOLMES-428 Signed-off-by: GuangrongFu --- rulemgt-standalone/src/main/assembly/bin/initDB.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rulemgt-standalone/src/main/assembly/bin/initDB.sh') diff --git a/rulemgt-standalone/src/main/assembly/bin/initDB.sh b/rulemgt-standalone/src/main/assembly/bin/initDB.sh index 88c2022..3da96e9 100644 --- a/rulemgt-standalone/src/main/assembly/bin/initDB.sh +++ b/rulemgt-standalone/src/main/assembly/bin/initDB.sh @@ -45,8 +45,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_rulemgt-createobj.sql -psql -U "$user" -p "$port" -h "$host" -d "$dbname" --command 'select * from aplus_rule;' +psql -U "'$user'" -p "'$port'" -h "'$host'" -d "'$dbname'" -f $main_path/dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql +psql -U "'$user'" -p "'$port'" -h "'$host'" -d "'$dbname'" --command 'select * from aplus_rule;' sql_result=$? if [ "$need_unset"x == "1"x ]; then -- cgit 1.2.3-korg