From e1974118b50f10001ce8584b9da4c9a607501b6e Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 16 Mar 2018 15:02:09 +0100 Subject: [PATCH] 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 --- scripts/process-text-files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process-text-files.py b/scripts/process-text-files.py index 83fe180..7808516 100644 --- a/scripts/process-text-files.py +++ b/scripts/process-text-files.py @@ -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)