Salome HOME
Merge with Dev_1.5.0
[modules/shaper.git] / env.sh
1 #!/bin/bash -x
2
3 # Path to sources
4 export SOURCES_DIR=$(pwd)
5 # Path to build directory
6 export BUILD_DIR=$(cd .. && pwd)/build
7 # Path to linux_run.sh & salome_run.sh
8 export AUT_DIR=$(pwd)
9
10 # Path to env_*.sh files
11 export TOOLS_DIR=$(pwd)
12
13 # Extracts INST_ROOT directory for SALOME
14 if [[ ! -f env_config.sh ]]; then
15   echo "Can not find env_config.sh. Please, run config.sh."
16   exit 1
17 fi
18 source env_config.sh
19
20 # Path to solvespace-2
21 export NEWGEOM_PDIR=/dn48/newgeom/common/products
22 # Path to install directory
23 export NEWGEOM_ROOT_DIR=$(cd .. && pwd)/install