ccanlint: allow BSD-MIT for MIT license.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Jan 2011 01:37:05 +0000 (12:07 +1030)
committerRusty 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

index 9140f98ee2fc67f7863440d83d1986c8b1156ca5..35a4d39379fdf92d641fe31a74a628a0ee18bc16 100644 (file)
@@ -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;