--- a/dbrtools/dbr/dbrutils.py Mon Mar 22 11:35:48 2010 +0000
+++ b/dbrtools/dbr/dbrutils.py Mon Mar 22 12:19:15 2010 +0000
@@ -266,10 +266,14 @@
fixpath = re.compile('\\\\')
leadingslash = re.compile('^%s' % fixpath.sub('/',epocroot()))
newline = re.compile('\n')
+ epoc32 = re.compile('^epoc32');
+ trailingtab = re.compile('\t\d+') #normally in rombuild files...
for line in f:
line = newline.sub('',line)
- name = string.lower(leadingslash.sub('',fixpath.sub('/',line)))
- files.add(name)
+ name = string.lower(leadingslash.sub('',fixpath.sub('/',line)))
+ if(epoc32.search(name)):
+ name = trailingtab.sub('',name)
+ files.add(name)
f.close()
return files