From: abd Date: Thu, 6 Apr 2006 11:48:43 +0000 (+0000) Subject: Temprorary fix X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~64 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d91c531091c1deb97d0840e691df9f12a736e7e;p=modules%2Fkernel.git Temprorary fix --- diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index a9d0c273c..aaebdf34f 100755 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -162,7 +162,12 @@ class xml_parser: config_var = appname+'Config' dirs = os.environ[config_var] -dirs = re.split('[;|:]', dirs ) +#abd error om win32 path like W:\dir\di1 +print 'Search configuration file in dir ', dirs +if os.sys.platform == 'win32': + dirs = re.split('[;]', dirs ) +else: + dirs = re.split('[;|:]', dirs ) dirs.reverse() # reverse order, like in "path" variable - FILO-style processing _opts = {} # assiciative array of options to be filled @@ -170,6 +175,9 @@ _opts = {} # assiciative array of options to be filled # SalomeApp.xml files in directories specified by SalomeAppConfig env variable for dir in dirs: filename = dir+'/'+appname+'.xml' + #abd test begin + print 'Search configuration file ', filename + #abd test end try: p = xml_parser(filename, _opts) _opts = p.opts