X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=env.sh;h=05bfb11452bf30cdb2b0ed2bfec876e1a5c6c4d7;hb=3d35e6956fa6cbf7da6d04a6bffacc09e8484d38;hp=68b0c0931f92ac61358bb6ae2ba06fa14b6adfdf;hpb=397e503db0793fa25fcd5d3c39c6bbdae0909bd0;p=modules%2Fshaper.git diff --git a/env.sh b/env.sh index 68b0c0931..05bfb1145 100644 --- a/env.sh +++ b/env.sh @@ -3,21 +3,21 @@ # Path to sources export SOURCES_DIR=$(pwd) # Path to build directory -export BUILD_DIR=$(cd ../build && pwd) +export BUILD_DIR=$(cd ${SOURCES_DIR}/.. && pwd)/build # Path to linux_run.sh & salome_run.sh export AUT_DIR=$(pwd) # Path to env_*.sh files export TOOLS_DIR=$(pwd) -# Extracts INST_ROOT directory for SALOME -if [[ ! -f env_config.sh ]]; then - echo "Can not find env_config.sh. Please, run config.sh." - exit 1 -fi -source env_config.sh +export HOME_OLD=$HOME +source /dn46/SALOME/series8x/current-2017-07-11/start.sh +export HOME=$HOME_OLD # Path to solvespace-2 -export NEWGEOM_PDIR=/dn48/newgeom/common/products +export SHAPER_PDIR=/dn48/newgeom/common/products # Path to install directory -export NEWGEOM_ROOT_DIR=$(cd ../install && pwd) +export SHAPER_ROOT_DIR=$(cd ${SOURCES_DIR}/.. && pwd)/install + +source ${TOOLS_DIR}/env_linux.sh +source ${TOOLS_DIR}/env_salome.sh