Salome HOME
Issue #1369: Added "SubShapes" feature.
[modules/shaper.git] / linux_run.sh
index d6f768320f52594fe25fff7173d516794a991c24..aad0cde3e4ce2df46d450b10b390dc5519fc5aa8 100755 (executable)
@@ -1,14 +1,10 @@
 #!/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
+${TOOLS_DIR}/solver.sh "$@"
 
-INSTALL_DIR=install
-if [ $1 ]; then INSTALL_DIR=${INSTALL_DIR}-$1; fi
+APP=${SHAPER_ROOT_DIR}/bin/GeomApp
 
-${ROOT_DIR}/${INSTALL_DIR}/bin/GeomApp
+${APP}