Added SETUP_ONLY option

#878
This commit is contained in:
Geoff Bourne 2021-05-23 12:39:10 -05:00
parent d404e0f50e
commit aaf327b308

View File

@ -212,6 +212,11 @@ EOF
"${FTB_SERVER_START}"
)
if isTrue ${SETUP_ONLY:=false}; then
echo "SETUP_ONLY: ${finalArgs[@]}"
exit
fi
if isTrue ${DEBUG_EXEC}; then
set -x
fi
@ -236,6 +241,11 @@ else
"$@" $EXTRA_ARGS
)
if isTrue ${SETUP_ONLY:=false}; then
echo "SETUP_ONLY: java ${finalArgs[@]}"
exit
fi
if isTrue ${DEBUG_EXEC}; then
set -x
fi