script modified
parent
12ac117046
commit
87ecf94971
@ -1,7 +1,15 @@
|
||||
if [ -z "$GHN_HOME" ]; then
|
||||
echo -e "\nERROR:please specify the GHN_HOME env var." >&2
|
||||
echo -e "\naborting.\n"
|
||||
exit 1
|
||||
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
|
||||
|
||||
export CLASSPATH=$CLASSPATH:"$GHN_HOME/lib/*"
|
||||
|
||||
export CLASSPATH=$CLASSPATH:"$ghnhome/lib/*"
|
Loading…
Reference in New Issue