From: vsr Date: Wed, 26 Oct 2005 06:46:30 +0000 (+0000) Subject: fix a bug: set SUITRoot and SalomeAppConfig variables X-Git-Tag: V_3_1_0a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1453d308ba0f2cdf1051479218df79fe8b23021b;p=tools%2Finstall.git fix a bug: set SUITRoot and SalomeAppConfig variables --- diff --git a/config_files/GUI_BIN.sh b/config_files/GUI_BIN.sh index 979c890..aa57daa 100755 --- a/config_files/GUI_BIN.sh +++ b/config_files/GUI_BIN.sh @@ -22,6 +22,8 @@ if [ -n "\${ENV_FOR_LAUNCH}" ] ; then export PATH=\${GUI_ROOT_DIR}/bin/salome:\${PATH} export LD_LIBRARY_PATH=\${GUI_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH} export PYTHONPATH=\${GUI_ROOT_DIR}/bin/salome:\${GUI_ROOT_DIR}/lib/salome:\${GUI_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} + export SUITRoot=\${GUI_ROOT_DIR}/share/salome + export SalomeAppConfig=\${GUI_ROOT_DIR}/share/salome/resources fi fi ## @@ -42,6 +44,8 @@ if [ -n "\${ENV_FOR_LAUNCH}" ] ; then export PATH=\${GUI_ROOT_DIR}/bin/salome:\${PATH} export LD_LIBRARY_PATH=\${GUI_ROOT_DIR}/lib/salome:\${LD_LIBRARY_PATH} export PYTHONPATH=\${GUI_ROOT_DIR}/bin/salome:\${GUI_ROOT_DIR}/lib/salome:\${GUI_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/salome:\${PYTHONPATH} + export SUITRoot=\${GUI_ROOT_DIR}/share/salome + export SalomeAppConfig=\${GUI_ROOT_DIR}/share/salome/resources fi fi ##