[Buildroot] [PATCH 1/2] utils/scancpan: handles misspelled LICENCE
Francois Perrad
fperrad at gmail.com
Tue Oct 29 04:33:08 UTC 2019
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
utils/scancpan | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/scancpan b/utils/scancpan
index 484ccaca9..16e495bda 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -567,7 +567,7 @@ sub find_license_files {
foreach (split /\n/, $manifest) {
next if m|/|;
s|\s+.*$||;
- push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|LICENSE)/i;
+ push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|LICENSE|LICENCE)/i;
}
if (scalar @license_files == 0 && $manifest =~ m/(README)[\n\s]/i) {
@license_files = ($1);
--
2.20.1
More information about the buildroot
mailing list