Salome HOME
A way to deal with environment modules.
[tools/yacsgen.git] / Examples / exec.sh
1 #/bin/bash
2 # execute a command within SALOME environment 
3
4 com=$*
5
6 # Modify to your SALOME installation
7 export SALOME_DIR=__YACSGEN_INSTALL_PATH__
8 export SALOME_PACKAGES=__YACSGEN_INSTALL_PATH__
9
10 source $SALOME_PACKAGES/salome_prerequisites.sh
11 source $SALOME_PACKAGES/salome_modules.sh
12
13 echo execution: $com
14 $com
15