diff --git a/libc/tools/generate-NOTICE.py b/libc/tools/generate-NOTICE.py index 4c9e92784..8cd75a3b7 100755 --- a/libc/tools/generate-NOTICE.py +++ b/libc/tools/generate-NOTICE.py @@ -144,7 +144,7 @@ for arg in args: i = 0 while i < len(lines): - if "Copyright" in lines[i] and not "__COPYRIGHT" in lines[i]: + if "Copyright" in lines[i] and not "@(#) Copyright" in lines[i]: i = ExtractCopyrightAt(lines, i) i += 1