From ebd34390b989c804e982babeb024d2cceeba8d64 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 27 May 2014 12:51:19 +0400 Subject: [PATCH] Adapt SALOME launch to installation from InstallWizard --- salome_env.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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} -- 2.39.2