commit | 5d2f86f36341b76f84770d8966d7686a59555ae9 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 23 11:10:48 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jul 23 11:10:48 2014 -0700 |
tree | f38155b2fb16467111705ef96adcb30b7b3afd98 | |
parent | ea42a6caea9d5cb5a92939ba0696856306b1d56b [diff] |
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros. Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87
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 @@ 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