From 78d46f1e813b7afe587fde257b5a2e684ae55291 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 16 Feb 2011 17:03:31 +0000 Subject: [PATCH] Fix regression caused by previous integration: Issue 0021190: [CEA 452] SalomeApp.xml not found on 6 main OK with 6.2.0 --- bin/runSalome.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index aecb22ef1..a45724937 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -286,7 +286,9 @@ class SessionServer(Server): list_modules = [] #keep only modules with GUI for m in modules_list: - if os.path.exists(os.path.join(modules_root_dir[m],"share","salome","resources",m.lower(),"SalomeApp.xml")): + fr1 = os.path.join(modules_root_dir[m],"share","salome","resources",m.lower(),"SalomeApp.xml") + fr2 = os.path.join(modules_root_dir[m],"share","salome","resources","SalomeApp.xml") + if os.path.exists(fr1) or os.path.exists(fr2): list_modules.insert(0,m) self.SCMD2+=['--modules (%s)' % ":".join(list_modules)] -- 2.39.2