X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=linux_run.sh;h=f84755c194e9d9eb4c719d4d011de04b02cbe2fa;hb=b2a662eec6a0258d51a67ee7e341541e7a710752;hp=10b6112649585f749c2ddff49c7b1698c0e57db4;hpb=fc33424bb806c86eb577beb3ab1fa20ed87b5c9a;p=modules%2Fshaper.git diff --git a/linux_run.sh b/linux_run.sh index 10b611264..f84755c19 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -1,17 +1,10 @@ #!/bin/bash -a_dir=$(dirname $0) +source env.sh +source ${TOOLS_DIR}/env_standalone.sh -cd ${a_dir} +${TOOLS_DIR}/solver.sh "$@" -source ${a_dir}/env.sh -source ${a_dir}/env_standalone.sh +APP=${NEWGEOM_ROOT_DIR}/bin/GeomApp -if [ -f GDB ]; then - ${INSTALL_DIR}/bin/GeomApp >>log_GeomApp 2>>err_GeomApp & - APP_PID=$! - echo "Connecting GDB to PID ${APP_PID}..." - gdb - ${APP_PID} >>log_gdb_linux 2>>err_gdb_linux -else - ${INSTALL_DIR}/bin/GeomApp -fi +${APP}