Salome HOME
Update LICENSE
[modules/shaper.git] / env_salome.sh
index 7aa4b6992e0260ed3440a323f356eaa503fa9555..60752255b29bfeb9d05746f58b85636c7c45a1fa 100644 (file)
@@ -1,15 +1,4 @@
 #!/bin/bash
 
-for path in TOOLS_DIR; do
-  if [[ -z "${!path}" ]]; then
-    echo "${path} not found."; exit 1
-  else
-    echo "Found ${path}: ${!path}"
-  fi
-done
-
-source ${TOOLS_DIR}/env_linux.sh
-
-# Correcting path which defined with error
-export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
-export SalomeAppConfig=${NEWGEOM_ROOT_DIR}/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
+# Config path correction
+export SalomeAppConfig=${SHAPER_ROOT_DIR}/share/salome/resources/shaper:${GUI_ROOT_DIR}/share/salome/resources/gui