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 4343cd5efafa7b25270e289ea07d993d22422fcf..631a01214287afe4cba2dcd870a9daaa5d748869 100644
(file)
--- a/
env_salome.sh
+++ b/
env_salome.sh
@@
-1,9
+1,15
@@
#!/bin/bash
#!/bin/bash
-pushd ${SOURCES_DIR}
- source env_linux.sh
-popd
+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}
# 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=${
SHAPER_ROOT_DIR}/share/salome/resources/shaper
:${GUI_ROOT_DIR}/share/salome/resources/gui