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
Improve scripts for Linux
[modules/shaper.git]
/
linux_run.sh
diff --git
a/linux_run.sh
b/linux_run.sh
index d6f768320f52594fe25fff7173d516794a991c24..5294b88287ccf7f3de55d1a420577f8457319062 100755
(executable)
--- a/
linux_run.sh
+++ b/
linux_run.sh
@@
-1,14
+1,8
@@
#!/bin/bash
#!/bin/bash
-# Find absolute path to ROOT_DIR
-export ROOT_DIR=$(pwd)/..
-export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+source env.sh
+source ${TOOLS_DIR}/env_standalone.sh
-SRC_DIR=${ROOT_DIR}/sources
-source ${SRC_DIR}/salome_env.sh
-source ${SRC_DIR}/linux_env.sh $1
+APP=${NEWGEOM_ROOT_DIR}/bin/GeomApp
-INSTALL_DIR=install
-if [ $1 ]; then INSTALL_DIR=${INSTALL_DIR}-$1; fi
-
-${ROOT_DIR}/${INSTALL_DIR}/bin/GeomApp
+${APP}