summaryrefslogtreecommitdiffstats
path: root/src/main/scripts/uniquePropertyCheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scripts/uniquePropertyCheck.sh')
-rw-r--r--src/main/scripts/uniquePropertyCheck.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/scripts/uniquePropertyCheck.sh b/src/main/scripts/uniquePropertyCheck.sh
index c3c92bf..92da3cb 100644
--- a/src/main/scripts/uniquePropertyCheck.sh
+++ b/src/main/scripts/uniquePropertyCheck.sh
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
#
# The script invokes UniqueProperty java class to see if the passed property is unique in the db and if
# not, to display where duplicate values are found.
@@ -6,10 +6,9 @@
# For example: uniquePropertyCheck.sh subscriber-name
#
-COMMON_ENV_PATH=$( cd "$(dirname "$0")" ; pwd -P )
+COMMON_ENV_PATH=$( cd "$(dirname "$0")" ; pwd -P )
. ${COMMON_ENV_PATH}/common_functions.sh
start_date;
-check_user;
source_profile;
#execute_spring_jar org.onap.aai.util.UniquePropertyCheck ${PROJECT_HOME}/resources/uniquePropertyCheck-logback.xml "$@"
@@ -21,4 +20,4 @@ if [ $ret_code != 0 ]; then
fi
end_date;
-exit 0 \ No newline at end of file
+exit 0