Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Composite feature adding subsolids. Fix problem with tag.
[modules/shaper.git]
/
env_salome.sh
diff --git
a/env_salome.sh
b/env_salome.sh
index eea2eca66b8190d04b8310cdf9f8c25bbe2642c8..7aa4b6992e0260ed3440a323f356eaa503fa9555 100644
(file)
--- a/
env_salome.sh
+++ b/
env_salome.sh
@@
-1,9
+1,15
@@
#!/bin/bash
#!/bin/bash
-a_dir=$(dirname $0)
+for path in TOOLS_DIR; do
+ if [[ -z "${!path}" ]]; then
+ echo "${path} not found."; exit 1
+ else
+ echo "Found ${path}: ${!path}"
+ fi
+done
-source ${
a_dir
}/env_linux.sh
+source ${
TOOLS_DIR
}/env_linux.sh
# Correcting path which defined with error
export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
# Correcting path which defined with error
export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
-export SalomeAppConfig=${
INSTALL
_DIR}/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
+export SalomeAppConfig=${
NEWGEOM_ROOT
_DIR}/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui