Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87
This commit is contained in:
parent
ea42a6caea
commit
5d2f86f363
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue