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
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git]
/
env_salome.sh
diff --git
a/env_salome.sh
b/env_salome.sh
index e4898ba709350b63935d9028ead420f799874e27..631a01214287afe4cba2dcd870a9daaa5d748869 100644
(file)
--- a/
env_salome.sh
+++ b/
env_salome.sh
@@
-1,7
+1,15
@@
#!/bin/bash
#!/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}
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
+export SalomeAppConfig=${
SHAPER_ROOT_DIR}/share/salome/resources/shaper
:${GUI_ROOT_DIR}/share/salome/resources/gui