aboutsummaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorhighstreetherbert <herbert.eiselt@highstreet-technologies.com>2021-05-05 16:57:38 +0200
committerhighstreetherbert <herbert.eiselt@highstreet-technologies.com>2021-05-05 19:39:00 +0200
commita07e237412fc8b5fd7f1cc79909320a69a977306 (patch)
tree4af4a30af3db6a7eba5aef3d6d35f7eb074ffc03 /installation
parentd111f1faadd1de1aafcee5fa2506c961c4015bfe (diff)
sdnc sdnr database init script fails
sdnr wt configuration Issue-ID: SDNC-1536 Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com> Change-Id: I12363eebc59ae1e7663f8e306ca212ef59615daa Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com> Former-commit-id: 820b1b9edd0990ef5ce2247a59d49018bc0cce2d
Diffstat (limited to 'installation')
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh
index 918b8016..ee4e19f5 100755
--- a/installation/sdnc/src/main/scripts/startODL.sh
+++ b/installation/sdnc/src/main/scripts/startODL.sh
@@ -85,10 +85,7 @@ cleanupFeatureBoot() {
initialize_sdnrdb() {
printf "SDN-R Database Initialization"
INITCMD="$JAVA_HOME/bin/java -jar "
- FN="$ODL_HOME/${FEATURES_SDNR}/sdnr-wt-data-provider-setup/$CCSDKFEATUREVERSION/sdnr-dmt.jar"
- if [ ! -f "$FN" ];then
- FN="$ODL_HOME/${FEATURES_SDNR}/sdnr-wt-data-provider-setup/$CCSDKFEATUREVERSION/sdnr-wt-data-provider-setup-$CCSDKFEATUREVERSION.jar"
- fi
+ FN=$(find "$ODL_HOME/system" -name "sdnr-wt-data-provider-setup-$CCSDKFEATUREVERSION.jar")
INITCMD="${INITCMD} ${FN} $SDNRDBCOMMAND"
printf "%s\n" "Execute: $INITCMD"
n=0