mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
process-text-files.py: Fix file name matching
For some unbeknown reason, file names were compared case-invariantly before deciding upon renaming them. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fc5241a2e8
commit
e1974118b5
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ class CmdReplaceCppSymbols(Cmd):
|
|||
if not trunc.lower() in self.file_truncs:
|
||||
continue
|
||||
for patt, repl in self.replacements.iteritems():
|
||||
if patt.lower() == trunc.lower():
|
||||
if patt == trunc:
|
||||
path = dir + '/' + name
|
||||
new_path = dir + '/' + repl + ext
|
||||
assert(new_path != path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue