diff options
author | Elliott Hughes <enh@google.com> | 2014-07-23 11:10:48 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-07-23 11:10:48 -0700 |
commit | 5d2f86f36341b76f84770d8966d7686a59555ae9 (patch) | |
tree | f38155b2fb16467111705ef96adcb30b7b3afd98 /libc | |
parent | ea42a6caea9d5cb5a92939ba0696856306b1d56b (diff) | |
download | bionic-5d2f86f36341b76f84770d8966d7686a59555ae9.zip bionic-5d2f86f36341b76f84770d8966d7686a59555ae9.tar.gz bionic-5d2f86f36341b76f84770d8966d7686a59555ae9.tar.bz2 |
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87
Diffstat (limited to 'libc')
-rwxr-xr-x | libc/tools/generate-NOTICE.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/tools/generate-NOTICE.py b/libc/tools/generate-NOTICE.py index 4c9e927..8cd75a3 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 |