Salome HOME
Do not update OCCT viewer until the current feature in the tree is set.
[modules/shaper.git] / salome_env.sh
1 #!/bin/bash
2
3 main() {
4   local platform="$(lsb_release -is)"
5   local release="$(lsb_release -rs)"
6   if [ "${platform}" == "CentOS" ]; then 
7     export INST_ROOT=/dn48/newgeom/common/SALOME-7.5.1_CentOS-6.3
8   elif [ "${platform}" == "Debian" ]; then
9     if   [[ ${release} =~ ^6 ]]; then export INST_ROOT=/dn23/NEWGEOM/common/SALOME-7.5.1_Debian-6.0_SOURCES
10     elif [[ ${release} =~ ^8 ]]; then export INST_ROOT=/dn23/NEWGEOM/common/SALOME-7.5.1_Debian-8.0_SOURCES
11     fi
12   fi
13 }
14
15 main