From: sln Date: Wed, 15 Apr 2009 08:48:13 +0000 (+0000) Subject: Definition of LightAppConfig fixed in order to provide usaing correct resources when... X-Git-Tag: CTH_15~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c71dccc89d63ca17238e73955b26bf798f143c0a;p=modules%2Fgui.git Definition of LightAppConfig fixed in order to provide usaing correct resources when module redefine resources of GUI_SRC (application name for example) --- 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}