From c71dccc89d63ca17238e73955b26bf798f143c0a Mon Sep 17 00:00:00 2001 From: sln Date: Wed, 15 Apr 2009 08:48:13 +0000 Subject: [PATCH] Definition of LightAppConfig fixed in order to provide usaing correct resources when module redefine resources of GUI_SRC (application name for example) --- bin/runLightSalome.csh | 2 +- bin/runLightSalome.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/runLightSalome.csh b/bin/runLightSalome.csh index 39c742dc8..71fa04961 100755 --- a/bin/runLightSalome.csh +++ b/bin/runLightSalome.csh @@ -125,7 +125,7 @@ foreach mod ( $mods ) endif endif if ( "$mod" != "KERNEL" && "$mod" != "GUI" ) then - setenv LightAppConfig ${LightAppConfig}:${root_dir}/share/salome/resources/${mod_lower} + setenv LightAppConfig ${root_dir}/share/salome/resources/${mod_lower}:${LightAppConfig} endif if ( "${SALOMEPATH}" == "" ) then setenv SALOMEPATH ${root_dir} diff --git a/bin/runLightSalome.sh b/bin/runLightSalome.sh index cc2540a04..9fa36f249 100755 --- a/bin/runLightSalome.sh +++ b/bin/runLightSalome.sh @@ -117,7 +117,7 @@ for mod in $mods ; do fi fi if [ "$mod" != "KERNEL" ] && [ "$mod" != "GUI" ] ; then - export LightAppConfig=${LightAppConfig}:${root_dir}/share/salome/resources/${mod_lower} + export LightAppConfig=${root_dir}/share/salome/resources/${mod_lower}:${LightAppConfig} fi if [ "${SALOMEPATH}" == "" ] ; then export SALOMEPATH=${root_dir} -- 2.39.2