aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-service/src/main/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'aai-schema-service/src/main/scripts')
-rw-r--r--aai-schema-service/src/main/scripts/common_functions.sh1
-rw-r--r--aai-schema-service/src/main/scripts/getTool.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/aai-schema-service/src/main/scripts/common_functions.sh b/aai-schema-service/src/main/scripts/common_functions.sh
index 7dfda25..dd235c2 100644
--- a/aai-schema-service/src/main/scripts/common_functions.sh
+++ b/aai-schema-service/src/main/scripts/common_functions.sh
@@ -36,7 +36,6 @@ check_user(){
# Sources the profile and sets the project home
source_profile(){
- . /etc/profile.d/aai.sh
PROJECT_HOME=/opt/app/aai-schema-service
}
diff --git a/aai-schema-service/src/main/scripts/getTool.sh b/aai-schema-service/src/main/scripts/getTool.sh
index 9b8b26e..1241145 100644
--- a/aai-schema-service/src/main/scripts/getTool.sh
+++ b/aai-schema-service/src/main/scripts/getTool.sh
@@ -58,7 +58,7 @@ if [ "${userid}" != "aaiadmin" ]; then
exit 1
fi
-. /etc/profile.d/aai.sh
+
PROJECT_HOME=/opt/app/aai-schema-service
prop_file=$PROJECT_HOME/resources/etc/appprops/aaiconfig.properties
log_dir=$PROJECT_HOME/logs/misc