OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea42a6c
)
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
author
Elliott Hughes
<enh@google.com>
Wed, 23 Jul 2014 18:10:48 +0000
(11:10 -0700)
committer
Elliott Hughes
<enh@google.com>
Wed, 23 Jul 2014 18:10:48 +0000
(11:10 -0700)
Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87
libc/tools/generate-NOTICE.py
patch
|
blob
|
history
diff --git
a/libc/tools/generate-NOTICE.py
b/libc/tools/generate-NOTICE.py
index
4c9e927
..
8cd75a3
100755
(executable)
--- 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