From: vsr Date: Wed, 16 Feb 2011 17:03:31 +0000 (+0000) Subject: Fix regression caused by previous integration: X-Git-Tag: Start_BR_19998_21191~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78d46f1e813b7afe587fde257b5a2e684ae55291;p=modules%2Fkernel.git Fix regression caused by previous integration: Issue 0021190: [CEA 452] SalomeApp.xml not found on 6 main OK with 6.2.0 --- 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)]