From: vsv Date: Tue, 27 May 2014 08:51:19 +0000 (+0400) Subject: Adapt SALOME launch to installation from InstallWizard X-Git-Tag: V_0.4.4~344 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ebd34390b989c804e982babeb024d2cceeba8d64;p=modules%2Fshaper.git Adapt SALOME launch to installation from InstallWizard --- diff --git a/salome_env.sh b/salome_env.sh index 83ce4e2e6..fc7a5049f 100644 --- a/salome_env.sh +++ b/salome_env.sh @@ -1,13 +1,17 @@ #!/bin/sh if [ "${INST_ROOT}" = "" ] ; then - source /dn47/SALOME/PRODUCTS/7x/opt/CentOS.6.3.64/7.3.0/env_products.sh - source /dn47/SALOME/stable/V7_3_0/start.sh + source /dn48/newgeom/common/SALOME/env_products.sh else source ${INST_ROOT}/env_products.sh fi +#------ SolveSpace ------ +export SOLVESPACE_ROOT_DIR=/dn48/newgeom/common/products/solvespace-2.0 +export LD_LIBRARY_PATH=${SOLVESPACE_ROOT_DIR}/lib:${LD_LIBRARY_PATH} +## + export ROOT_DIR=$(pwd)/.. export ROOT_DIR=`cd "${ROOT_DIR}";pwd` @@ -18,6 +22,7 @@ export PATH=${CASROOT}:${PATH} export PYTHON_INC_DIR=${PYTHON_INCLUDE} export PYTHON_LIB_DIR=${PYTHON_ROOT_DIR}/lib + #------ NewGEOM ------ export INST_DIR=${ROOT_DIR}/install export PATH=${INST_DIR}/bin:${INST_DIR}/plugins:${PATH}