X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=env_salome.sh;h=7aa4b6992e0260ed3440a323f356eaa503fa9555;hb=3a2638195da6b4304161c70f3c4f76cf970adf37;hp=e4898ba709350b63935d9028ead420f799874e27;hpb=397e503db0793fa25fcd5d3c39c6bbdae0909bd0;p=modules%2Fshaper.git diff --git a/env_salome.sh b/env_salome.sh index e4898ba70..7aa4b6992 100644 --- a/env_salome.sh +++ b/env_salome.sh @@ -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