smartgears-distribution/distro/contents/scripts/load-env

15 lines
378 B
Plaintext
Raw Normal View History

2020-04-09 11:20:01 +02:00
ghnhome=$1
if [ -z "$ghnhome" ]; then
if [ -z "$GHN_HOME" ]; then
echo -e "\nERROR:please specify the gHN directory (-g) or define the GHN_HOME env var." >&2
showhelp
echo -e "\naborting.\n"
exit 1
else
ghnhome=$GHN_HOME
fi
fi
2020-04-09 11:20:01 +02:00
export CLASSPATH=$CLASSPATH:"$ghnhome/lib/*"