Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
(cherry picked from commit 5d2f86f36341b76f84770d8966d7686a59555ae9) Change-Id: Iddf22c8d9ff7a4d1205d37bb58c6235af681d795
This commit is contained in:
parent
4ac83fad3c
commit
2aa142ffb2
@ -144,7 +144,7 @@ for arg in args:
|
|||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
while i < len(lines):
|
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 = ExtractCopyrightAt(lines, i)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user