Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Allow applications built w/o wobootstrap being present to start w/o e…
Browse files Browse the repository at this point in the history
…nvironment variables.

Don't terminate if NEXT_ROOT or HOME are unset, it'll just work.
  • Loading branch information
fbarthez committed Jul 6, 2020
1 parent 4ec4d4b commit ca493f4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,13 @@ if [ "${PLATFORM_TYPE}" = "Other" ]
then
if [ "${NEXT_ROOT}" = "" ]
then
echo ${SCRIPT_NAME}: NEXT_ROOT environment variable is not set! Terminating.
exit 1
echo ${SCRIPT_NAME}: NEXT_ROOT environment variable is not set!
fi
fi

if [ "${HOME}" = "" ]
then
echo ${SCRIPT_NAME}: HOME environment variable is not set! Terminating.
exit 1
echo ${SCRIPT_NAME}: HOME environment variable is not set!
fi

echo Reading ${CLASSPATH_FILENAME} ...
Expand Down

0 comments on commit ca493f4

Please sign in to comment.