Salome HOME
Message about fully constrained sketch
[modules/shaper.git] / linux_run.sh
index 7e06fb1b0d96f662506c874c4e45c9edb0928d8b..aad0cde3e4ce2df46d450b10b390dc5519fc5aa8 100755 (executable)
@@ -1,10 +1,10 @@
-#!/bin/sh
-# Find absolute path to ROOT_DIR
-export ROOT_DIR=$(pwd)/..
-export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+#!/bin/bash
 
-SRC_DIR=${ROOT_DIR}/sources
+source env.sh
+source ${TOOLS_DIR}/env_standalone.sh
 
-source ${SRC_DIR}/linux_env.sh
+${TOOLS_DIR}/solver.sh "$@"
 
-${ROOT_DIR}/install/bin/GeomApp
+APP=${SHAPER_ROOT_DIR}/bin/GeomApp
+
+${APP}