diff options
author | Elliott Hughes <enh@google.com> | 2014-07-23 18:34:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-22 16:35:00 +0000 |
commit | 467e49be70231f55bd7ba908407b4413294d3bfc (patch) | |
tree | f38155b2fb16467111705ef96adcb30b7b3afd98 | |
parent | ea42a6caea9d5cb5a92939ba0696856306b1d56b (diff) | |
parent | 5d2f86f36341b76f84770d8966d7686a59555ae9 (diff) | |
download | bionic-467e49be70231f55bd7ba908407b4413294d3bfc.zip bionic-467e49be70231f55bd7ba908407b4413294d3bfc.tar.gz bionic-467e49be70231f55bd7ba908407b4413294d3bfc.tar.bz2 |
Merge "Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros."
-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 |