Index: vectorcast/setup_env.sh =================================================================== diff -u -rf0c69714f9b6a7d637ef488588e0965eb5588b7b -rdf608540e66b49eb8d755a5d2cb8f6b7c4a94820 --- vectorcast/setup_env.sh (.../setup_env.sh) (revision f0c69714f9b6a7d637ef488588e0965eb5588b7b) +++ vectorcast/setup_env.sh (.../setup_env.sh) (revision df608540e66b49eb8d755a5d2cb8f6b7c4a94820) @@ -5,25 +5,15 @@ # *** Insert any custom environment variables needed *** # ******************************************************* -doesDialityDirExist=false -# Check if this script is called from a Diality machine by checking the location that VectorCAST has been installed -if [[ -d /opt/VectorCASTSP3 ]]; then - doesDialityDirExist=true -fi - # VECTORCAST_DIR - Environment variable pointing to the base directory for VectorCAST -if [ "$doesDialityDirExist" == false ]; then - export VECTORCAST_DIR=/usr/local/vcast/ -else - export VECTORCAST_DIR=~/vcast +if [ -z "$VECTORCAST_DIR" ]; then + export VECTORCAST_DIR=/usr/local/vcast fi # VECTOR_LICENSE_FILE - Environment variable pointing to the license file -if [ "$doesDialityDirExist" == false ]; then +if [ -z "$VECTOR_LICENSE_FILE" ]; then export VECTOR_LICENSE_FILE=/usr/local/flexlm/licenses/license.dat -else - export VECTOR_LICENSE_FILE=27000@dvm-util01 fi # VCAST_COMPILER_DIR - Environment variable pointing to the base directory of compiler installation