From 5d2f86f36341b76f84770d8966d7686a59555ae9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 23 Jul 2014 11:10:48 -0700 Subject: Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros. Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87 --- libc/tools/generate-NOTICE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') 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 -- cgit v1.1