]> SALOME platform Git repositories - modules/shaper.git/blob - salome_env.sh
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / salome_env.sh
1 #!/bin/sh
2
3 if [ "${INST_ROOT}" = "" ] ; then
4     source /dn47/SALOME/PRODUCTS/7x/opt/CentOS.6.3.64/7.3.0/env_products.sh
5     source /dn47/SALOME/stable/V7_3_0/start.sh
6 else
7     source ${INST_ROOT}/env_products.sh
8 fi
9
10
11 export ROOT_DIR=$(pwd)/..
12 export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
13
14 SRC_DIR=${ROOT_DIR}/sources
15
16 export LIB=${LD_LIBRARY_PATH}
17 export PATH=${CASROOT}:${PATH}
18 export PYTHON_INC_DIR=${PYTHON_INCLUDE}
19 export PYTHON_LIB_DIR=${PYTHON_ROOT_DIR}/lib
20
21 #------ NewGEOM ------
22 export INST_DIR=${ROOT_DIR}/install
23 export PATH=${INST_DIR}/bin:${INST_DIR}/plugins:${PATH}
24 export LD_LIBRARY_PATH=${INST_DIR}/bin:${INST_DIR}/swig:${INST_DIR}/plugins:${PATH}${LD_LIBRARY_PATH}
25 export NEW_GEOM_CONFIG_FILE=${INST_DIR}/plugins