summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly/bin
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin')
-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