Hello,
Below patch is pushed as obvious (r16-490-g86a7642ef59).
Kind regards,
Torbjörn
--
The path "b/binutils/dwarf.c" should be printed as binutils/dwarf.c",
not "inutils/dwarf.c".
contrib/ChangeLog:
* check_GNU_style_lib.py: Remove literal prefix.
Signed-off-by: Torbjörn SVENSSON <[email protected]>
---
contrib/check_GNU_style_lib.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index f680983d2f3..8b930ef6bdb 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -279,7 +279,9 @@ def check_GNU_style_file(file, format):
patch = PatchSet(file)
for pfile in patch.added_files + patch.modified_files:
- t = pfile.target_file.lstrip('b/')
+ t = pfile.target_file
+ if t.startswith('b/'):
+ t = t[2:]
# Skip testsuite files
if 'testsuite' in t or t.endswith('.py'):
continue
--
2.25.1