]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
fix a bug: set SUITRoot and SalomeAppConfig variables
authorvsr <vsr@opencascade.com>
Wed, 26 Oct 2005 06:46:30 +0000 (06:46 +0000)
committervsr <vsr@opencascade.com>
Wed, 26 Oct 2005 06:46:30 +0000 (06:46 +0000)
config_files/GUI_BIN.sh

index 979c890274a8bf6dc5f743139d9e061d4339e616..aa57daa969f69493ce421f2cb1d492c9504b280a 100755 (executable)
@@ -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
 ##