commit | 467e49be70231f55bd7ba908407b4413294d3bfc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 23 18:34:15 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 22 16:35:00 2014 +0000 |
tree | f38155b2fb16467111705ef96adcb30b7b3afd98 | |
parent | ea42a6caea9d5cb5a92939ba0696856306b1d56b [diff] | |
parent | 5d2f86f36341b76f84770d8966d7686a59555ae9 [diff] |
Merge "Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros."
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