File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -436,21 +436,21 @@ SetupInstanceConfiguration()
436
436
437
437
if [ -z " ${OPENGROK_DISTRIBUTION_BASE} " ]
438
438
then
439
- if [ -d " ${SCRIPT_DIRECTORY} /dist" -a \
440
- -f " ${SCRIPT_DIRECTORY} /dist/opengrok.jar" -a \
441
- -f " ${SCRIPT_DIRECTORY} /dist/source.war" \
439
+ if [ -d " ${SCRIPT_DIRECTORY} /../ dist" -a \
440
+ -f " ${SCRIPT_DIRECTORY} /../ dist/opengrok.jar" -a \
441
+ -f " ${SCRIPT_DIRECTORY} /../ dist/source.war" \
442
442
]
443
443
then
444
444
# Handle Developer Build Environments
445
- OPENGROK_DISTRIBUTION_BASE=" ${SCRIPT_DIRECTORY} /dist"
445
+ OPENGROK_DISTRIBUTION_BASE=" ${SCRIPT_DIRECTORY} /../ dist"
446
446
else
447
447
# Handle Binary Distributions
448
448
OPENGROK_DISTRIBUTION_BASE=" ${SCRIPT_DIRECTORY} /../lib"
449
449
fi
450
450
fi
451
451
452
452
# REQUIRED: Java Archive of OpenGrok (Installation Location)
453
- OPENGROK_JAR=" ${OPENGROK_DISTRIBUTION_BASE} /opengrok.jar"
453
+ OPENGROK_JAR=" ${OPENGROK_JAR :- ${ OPENGROK_DISTRIBUTION_BASE}/ opengrok.jar} "
454
454
455
455
JAVA_CLASSPATH=" $CLASSPATH "
456
456
JAVA_CLASSPATH=" ${JAVA_CLASSPATH} :${OPENGROK_JAR} "
You can’t perform that action at this time.
0 commit comments