summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-02-22 14:05:51 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-02-22 14:05:51 +1030
commitfee8416f9d5c23f05d0c4fc57cfb56aaf91c0769 (patch)
tree79b428670b9f3d080606a88531fa935efe33cf84
parentb53e1f753b0a94979c273f1a2a0191ab41b637e5 (diff)
ccanlint: recognise new BSD 3-clause license.
-rw-r--r--tools/ccanlint/tests/license_exists.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/ccanlint/tests/license_exists.c b/tools/ccanlint/tests/license_exists.c
index 1ae27dd3..83bc769a 100644
--- a/tools/ccanlint/tests/license_exists.c
+++ b/tools/ccanlint/tests/license_exists.c
@@ -51,10 +51,11 @@ static const char *expected_link(const struct manifest *m,
|| streq(d->lines[0], "LGPLv2 (or later)")
|| 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")
+ if (streq(d->lines[0], "BSD-MIT")
|| streq(d->lines[0], "MIT"))
return "../../licenses/BSD-MIT";
+ if (streq(d->lines[0], "BSD (3 clause)"))
+ return "../../licenses/BSD-3CLAUSE";
return NULL;
}