Allow CUSTOM_SERVER to reference not-yet-existing file from GENERIC_PACK

For #703
This commit is contained in:
Geoff Bourne
2020-12-29 10:56:05 -06:00
parent d40bbdc3a5
commit 1fcbd8410f
2 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -17,12 +17,16 @@ if isURL ${CUSTOM_SERVER}; then
fi
elif [[ -f ${CUSTOM_SERVER} ]]; then
log "Using custom server jar at ${CUSTOM_SERVER} ..."
export SERVER=${CUSTOM_SERVER}
elif [[ ${GENERIC_PACK} ]]; then
log "Using custom server jar from generic pack at ${CUSTOM_SERVER} ..."
export SERVER=${CUSTOM_SERVER}
else
log "CUSTOM_SERVER is not properly set to a URL or existing jar file"
exit 2
fi
export SKIP_LOG4J_CONFIG=true