aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/server-gen/bin/db-migrator
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-03-07 16:57:29 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-07 16:57:29 +0000
commit72d313cdeb92ef291442b8189d52ac23a7cc8b71 (patch)
treee227b52a6450f4167f4f71219fa2931fb2774820 /policy-management/src/main/server-gen/bin/db-migrator
parentc90853392f06807467ae0a278fee378886370b71 (diff)
parent30cf6d7f7d77f1e83a84bfea8e991ca867c9a96c (diff)
Merge "Tweaking scripts to install for pdpd-cl image"
Diffstat (limited to 'policy-management/src/main/server-gen/bin/db-migrator')
-rw-r--r--policy-management/src/main/server-gen/bin/db-migrator4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-management/src/main/server-gen/bin/db-migrator b/policy-management/src/main/server-gen/bin/db-migrator
index 10240052..29a50d42 100644
--- a/policy-management/src/main/server-gen/bin/db-migrator
+++ b/policy-management/src/main/server-gen/bin/db-migrator
@@ -3,7 +3,7 @@
# ============LICENSE_START=======================================================
# ONAP
# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -520,7 +520,7 @@ if [[ -z ${SCHEMA} ]]; then
exit 2
fi
-source "${POLICY_HOME}"/etc/profile.d/base.conf
+source "${POLICY_HOME}"/etc/profile.d/env.sh
if [[ -z ${SQL_HOST} ]] || [[ -z ${SQL_USER} ]] || [[ -z ${SQL_PASSWORD} ]]; then
echo "error: no database has been set up"