Salome HOME
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
[modules/shaper.git] / linux_run.sh
index d6f768320f52594fe25fff7173d516794a991c24..5294b88287ccf7f3de55d1a420577f8457319062 100755 (executable)
@@ -1,14 +1,8 @@
 #!/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}