X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=linux_run.sh;h=5294b88287ccf7f3de55d1a420577f8457319062;hb=1ea8e041ffcc8d125d499265fc5b39e485001930;hp=d6f768320f52594fe25fff7173d516794a991c24;hpb=adc891685d4c8f06b2b540b642cabab8dc3314b0;p=modules%2Fshaper.git diff --git a/linux_run.sh b/linux_run.sh index d6f768320..5294b8828 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -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}