X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=linux_run.sh;h=5294b88287ccf7f3de55d1a420577f8457319062;hb=1ea8e041ffcc8d125d499265fc5b39e485001930;hp=9ec6425671b2f595895aaa13f2cc31453ebdeb3d;hpb=15b23d4334159675ad65e41022667dafc857839e;p=modules%2Fshaper.git diff --git a/linux_run.sh b/linux_run.sh index 9ec642567..5294b8828 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -1,17 +1,8 @@ #!/bin/bash -a_dir=$(dirname $0) +source env.sh +source ${TOOLS_DIR}/env_standalone.sh -cd ${a_dir} +APP=${NEWGEOM_ROOT_DIR}/bin/GeomApp -source ${a_dir}/env.sh -source ${a_dir}/env_standalone.sh - -if [ -f GDB ]; then - ${INSTALL_DIR}/bin/GeomApp & - APP_PID=$! - echo "Connecting GDB to PID ${APP_PID}..." - gdb --command=./commands.gdb - ${APP_PID} >>gdb.log 2>>gdb.err -else - ${INSTALL_DIR}/bin/GeomApp -fi +${APP}