#------ Setting products installation directory ------
#export INST_ROOT=/dn40/PRODUCTS/salome/6.x/opt/DEBIAN.6.0.64/6.6.0
-export INST_ROOT=${PWD}
+
+if [ -z "${SALOME_ROOT_DIR}" ]; then
+ echo "You need to set the environment variable SALOME_ROOT_DIR"
+ exit 1
+fi
+
+echo "SALOME_ROOT_DIR = " ${SALOME_ROOT_DIR}
+
+export INST_ROOT=${SALOME_ROOT_DIR}
### Variables for OCCT 653
### Set this variable to 1 in order to use OCCT products from ${INST_ROOT}
# nothing to do
##
#------ libxml2 ------
-export LIBXML_DIR=${INST_ROOT}/libxml2-2.7.8
-exportp PATH ${LIBXML_DIR}/bin
-exportp LD_LIBRARY_PATH ${LIBXML_DIR}/lib
+#export LIBXML_DIR=${INST_ROOT}/libxml2-2.7.8
+#exportp PATH ${LIBXML_DIR}/bin
+#exportp LD_LIBRARY_PATH ${LIBXML_DIR}/lib
##
#------ libxml2_src ------
# nothing to do
fi
if [ "$vx" != "" ] ; then
vx="_$vx"
+else
+ vx="_7.0.0"
fi
-#echo vx ================== ${vx}
-#exit
+echo vx == ${vx}
#------ KERNEL ------
export KERNEL_ROOT_DIR=${INST_ROOT}/KERNEL${vx}