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
Add construction plugin without tests.
[modules/shaper.git]
/
env_salome.sh
diff --git
a/env_salome.sh
b/env_salome.sh
index 4343cd5efafa7b25270e289ea07d993d22422fcf..eea2eca66b8190d04b8310cdf9f8c25bbe2642c8 100644
(file)
--- a/
env_salome.sh
+++ b/
env_salome.sh
@@
-1,8
+1,8
@@
#!/bin/bash
-pushd ${SOURCES_DIR}
- source env_linux.sh
-popd
+a_dir=$(dirname $0)
+
+source ${a_dir}/env_linux.sh
# Correcting path which defined with error
export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}