extdesc="The GSTikaCLI Extension" full_setup=`pwd`/${BASH_SOURCE} fulldir=${full_setup%/*} fulldir=${fulldir%/.} if [ "x$GEXT_GSTIKA" = "x" ] ; then export GEXT_GSTIKA=`pwd` # if [ -d "$GEXT_GSTIKA/bin/script" ] ; then # export PATH=$GEXT_GSTIKA/bin/script:$PATH # fi # if [ -d "$GEXT_GSTIKA/lib" ] ; then # if [ "$GSDLOS" = "linux" ] ; then # export LD_LIBRARY_PATH=$GEXT_GSTIKA/lib:$LD_LIBRARY_PATH # elif [ "$GSDLOS" = "darwin" ] ; then # export DYLD_LIBRARY_PATH=$GEXT_GSTIKA/lib:$DYLD_LIBRARY_PATH # fi # fi extdir=${GEXT_GSTIKA##*/} if [ "x$GSDLEXTS" = "x" ] ; then export GSDLEXTS=$extdir else export GSDLEXTS=$GSDLEXTS:$extdir fi echo "+Your environment is now setup for $extdesc" else echo "+Your environment is already setup for $extdesc" fi