projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06cf2a
)
ccanlint: allow BSD-MIT for MIT license.
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 6 Jan 2011 01:37:05 +0000
(12:07 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 6 Jan 2011 01:37:05 +0000
(12:07 +1030)
There are a large number of BSD variants out there, be explicit.
tools/ccanlint/tests/license.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/license.c
b/tools/ccanlint/tests/license.c
index 9140f98ee2fc67f7863440d83d1986c8b1156ca5..35a4d39379fdf92d641fe31a74a628a0ee18bc16 100644
(file)
--- a/
tools/ccanlint/tests/license.c
+++ b/
tools/ccanlint/tests/license.c
@@
-50,6
+50,7
@@
static const char *expected_link(const struct manifest *m,
|| streq(d->lines[0], "LGPL (2 or any later version)"))
return "../../licenses/LGPL-2.1";
if (streq(d->lines[0], "BSD")
+ || streq(d->lines[0], "BSD-MIT")
|| streq(d->lines[0], "MIT"))
return "../../licenses/BSD-MIT";
return NULL;