Browse Source

ccanlint: allow BSD-MIT for MIT license.

There are a large number of BSD variants out there, be explicit.
Rusty Russell 15 years ago
parent
commit
0b26111530
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/ccanlint/tests/license.c

+ 1 - 0
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)"))
 	    || streq(d->lines[0], "LGPL (2 or any later version)"))
 		return "../../licenses/LGPL-2.1";
 		return "../../licenses/LGPL-2.1";
 	if (streq(d->lines[0], "BSD")
 	if (streq(d->lines[0], "BSD")
+	    || streq(d->lines[0], "BSD-MIT")
 	    || streq(d->lines[0], "MIT"))
 	    || streq(d->lines[0], "MIT"))
 		return "../../licenses/BSD-MIT";
 		return "../../licenses/BSD-MIT";
 	return NULL;
 	return NULL;