projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle multi-line "written by/for" comments.
[openssl.git]
/
util
/
copyright.pl
diff --git
a/util/copyright.pl
b/util/copyright.pl
index ccc70af63f87985b63997bac9f01121d6ad519f5..4367f152a6aa17ee349691abc9731e87c88499de 100644
(file)
--- a/
util/copyright.pl
+++ b/
util/copyright.pl
@@
-30,6
+30,12
@@
sub check_comment()
}
}
+ # Look for a multi-line "written by" comment.
+ if ( ! $skipit ) {
+ my $text = join('', @lines);
+ $skipit = 1 if $text =~ m/Written by.*for the OpenSSL Project/is;
+ }
+
print @lines unless $skipit;
return $skipit;
}