From: Rusty Russell Date: Thu, 6 Jan 2011 01:37:05 +0000 (+1030) Subject: ccanlint: allow BSD-MIT for MIT license. X-Git-Url: http://git.ozlabs.org/?p=ccan-lca-2011.git;a=commitdiff_plain;h=0b26111530a6eb35420b7075b2cd58390cb2af14 ccanlint: allow BSD-MIT for MIT license. There are a large number of BSD variants out there, be explicit. --- diff --git a/tools/ccanlint/tests/license.c b/tools/ccanlint/tests/license.c index 9140f98..35a4d39 100644 --- 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;