####################################################################################
#
-# ghs3d &blsurf versions
+# products versions
#
+MESHGEMS_VERSION=1.0
+HEXOTIC_VERSION=1.0
if test `uname -m` = "x86_64" ; then
-GHS3D41_VERSION=4.1_64
-GHS3D42_VERSION=4.2_64
-BLSURF_VERSION=3.1_64
-HEXOTIC_VERSION=1.0_64
-else
-GHS3D41_VERSION=4.1_32
-GHS3D42_VERSION=4.2_32
-BLSURF_VERSION=3.1_32
-HEXOTIC_VERSION=1.0_32
+ PLT_SUFFIX="_64"
fi
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#$DELIM ${PRODUCT_TYPE} $DELIM
export DISTENE_HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export BLSURFHOME=\${DISTENE_HOME}/Tools/BLSurf-${BLSURF_VERSION}
-export HEXOTICHOME=\${DISTENE_HOME}/Tools/Hexotic-V${HEXOTIC_VERSION}
-export LD_LIBRARY_PATH=\${BLSURFHOME}/lib:\${LD_LIBRARY_PATH}
-export PATH=\${HEXOTICHOME}/bin:\${DISTENE_HOME}/Tools/TetMesh-GHS3D${GHS3D41_VERSION}:\${DISTENE_HOME}/Tools/TetMesh-GHS3D${GHS3D42_VERSION}:\${PATH}
+export MESHGEMS_CADSURFHOME=\${DISTENE_HOME}/MeshGems-${MESHGEMS_VERSION}/Products
+export LD_LIBRARY_PATH=\${MESHGEMS_CADSURFHOME}/lib/Linux${PLT_SUFFIX}:\${LD_LIBRARY_PATH}
+export PATH=\${MESHGEMS_CADSURFHOME}/bin/Linux${PLT_SUFFIX}:\${PATH}
+export HEXOTICHOME=\${DISTENE_HOME}/Hexotic-${HEXOTIC_VERSION}
+export PATH=\${HEXOTICHOME}/bin/Linux${PLT_SUFFIX}:\${PATH}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})