|| streq(d->lines[0], "LGPLv2 (or later)")
|| streq(d->lines[0], "LGPL (2 or any later version)"))
return "../../licenses/LGPL-2.1";
|| 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";
|| streq(d->lines[0], "MIT"))
return "../../licenses/BSD-MIT";
static void check_has_license(struct manifest *m,
bool keep,
unsigned int *timeleft, struct score *score)
static void check_has_license(struct manifest *m,
bool keep,
unsigned int *timeleft, struct score *score)
expected = expected_link(m, d);
len = readlink(license, buf, sizeof(buf));
expected = expected_link(m, d);
len = readlink(license, buf, sizeof(buf));