3 SALOME_ROOT=${HOME}/SALOME2
4 INSTALL_ROOT=${SALOME_ROOT}/Install
9 rm -rf bin lib share doc envd setAppliPath.sh searchFreePort.sh runAppli runConsole runSession env.d
14 ln -fs bin/salome/appliskel/envd .
15 ln -fs bin/salome/appliskel/setAppliPath.sh .
16 ln -fs bin/salome/appliskel/searchFreePort.sh .
17 ln -fs bin/salome/appliskel/runRemote.sh .
18 ln -fs bin/salome/appliskel/runAppli .
19 ln -fs bin/salome/appliskel/runConsole .
20 ln -fs bin/salome/appliskel/runSession .
21 ln -fs bin/salome/appliskel/runTests .
22 ln -fs bin/salome/appliskel/.bashrc .
26 if [ x${PREREQUISITE_SH} != x ]; then
27 cp ${PREREQUISITE_SH} env.d/envProducts.sh;
29 # --- unless PREREQUISITE_SH defines the prerequisite script,
30 # edit and uncomment the following line to set it, and comment the echo and exit lines
31 #ln -fs myPathForSalomePrerequisiteScriptToBeSourced env.d/envProducts.sh
32 echo "The file to source for SALOME prerequisite definition is not known:"
33 echo "--> Edit the corresponding line in " $0 ",Comment this message and the following exit command,"
37 # --- symbolic links creation, from modules_root_dir
41 for module in KERNEL MED GUI GEOM SMESH VISU SUPERV LIGHT NETGENPLUGIN PYCALCULATOR;
43 echo " ========= " ${module};
44 python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/${module}_${VERSION}
45 echo "export ${module}_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh
50 echo " ========= HELLO1";
51 python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/HELLO1_${VERSION}
52 echo "export HELLO_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh
56 echo " ========= PYHELLO1";
57 python virtual_salome.py -v --prefix="." --module=$INSTALL_ROOT/PYHELLO1_${VERSION}
58 echo "export PYHELLO_ROOT_DIR=$APPLI_ROOT" >> env.d/configSalome.sh
62 echo "export config_var=$APPLI_ROOT:$APPLI_ROOT/share/salome/resources" >> env.d/configGUI.sh
63 echo "export SUITRoot=$APPLI_ROOT/share/salome" >> env.d/configGUI.sh
65 # --- SAMPLES directory
67 echo "export DATA_DIR=$INSTALL_ROOT/SAMPLES/${VERSION}/SAMPLES_SRC" >> env.d/configSalome.sh