Salome HOME
For the issue #1156 : do not cause Placement error on activation of previous Part...
[modules/shaper.git] / env_salome.sh
index e4898ba709350b63935d9028ead420f799874e27..7aa4b6992e0260ed3440a323f356eaa503fa9555 100644 (file)
@@ -1,5 +1,13 @@
 #!/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