if [ "x$GSDL3SRCHOME" = "x" ] ; then aj_full_setup="${PWD}/${BASH_SOURCE}" aj_fulldir="${aj_full_setup%/*}" aj_fulldir="${aj_fulldir%/.}" cd ../../ . ./gs3-setup-cli.sh . ./gs3-setup.sh cd "$aj_fulldir" fi source ./setup.bash