X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=linux_run.sh;h=d6f768320f52594fe25fff7173d516794a991c24;hb=2e39226506e4b82f6ae5dcc26e776571801b1555;hp=7e06fb1b0d96f662506c874c4e45c9edb0928d8b;hpb=54e1f05084c52ce32a534735989cf2f4bc7128a5;p=modules%2Fshaper.git diff --git a/linux_run.sh b/linux_run.sh index 7e06fb1b0..d6f768320 100755 --- a/linux_run.sh +++ b/linux_run.sh @@ -1,10 +1,14 @@ -#!/bin/sh +#!/bin/bash + # Find absolute path to ROOT_DIR export ROOT_DIR=$(pwd)/.. export ROOT_DIR=`cd "${ROOT_DIR}";pwd` SRC_DIR=${ROOT_DIR}/sources +source ${SRC_DIR}/salome_env.sh +source ${SRC_DIR}/linux_env.sh $1 -source ${SRC_DIR}/linux_env.sh +INSTALL_DIR=install +if [ $1 ]; then INSTALL_DIR=${INSTALL_DIR}-$1; fi -${ROOT_DIR}/install/bin/GeomApp +${ROOT_DIR}/${INSTALL_DIR}/bin/GeomApp