From 670ead37c532e26eb3c9fca9baf2d98cb467ddd5 Mon Sep 17 00:00:00 2001 From: srn Date: Thu, 1 Nov 2007 11:39:02 +0000 Subject: [PATCH] Modified to assign CSF_PluginDefaults only for GEOM --- bin/setenv.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/setenv.py b/bin/setenv.py index 955e43ae3..5ee55b7d9 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -264,18 +264,16 @@ def set_env(args, modules_list, modules_root_dir): #if os.getenv("GUI_ROOT_DIR"): #if not os.getenv("SalomeAppConfig"): os.environ["SalomeAppConfig"] = os.getenv("GUI_ROOT_DIR") + "/share/salome/resources/gui" - # set CSF_PluginDefaults variable only if it is not customized - # by the user - if not os.getenv("CSF_PluginDefaults"): - os.environ["CSF_PluginDefaults"] \ - = os.path.join(modules_root_dir["KERNEL"],"share", - salome_subdir,"resources","kernel") os.environ["CSF_SALOMEDS_ResourcesDefaults"] \ = os.path.join(modules_root_dir["KERNEL"],"share", salome_subdir,"resources","kernel") if "GEOM" in modules_list: if verbose(): print "GEOM OCAF Resources" + + # set CSF_PluginDefaults variable only if it is not customized + # by the user + if not os.getenv("CSF_PluginDefaults"): os.environ["CSF_PluginDefaults"] \ = os.path.join(modules_root_dir["GEOM"],"share", -- 2.39.2