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
|
2014-03-27 07:32:46 +01:00
|
|
|
fi
|
|
|
|
|
2020-04-09 11:20:01 +02:00
|
|
|
|
|
|
|
export CLASSPATH=$CLASSPATH:"$ghnhome/lib/*"
|