From b689a5a7204c4d7e753c1f0c6b420a04739dedf9 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 6 Dec 2020 07:22:50 +0100 Subject: [PATCH] utils/scancpan: add GPL* as license file Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- utils/scancpan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/scancpan b/utils/scancpan index a1ec794edd..3ce3203bd5 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|LICENCE)/i; + push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|GPL\S*|LICENSE|LICENCE)/i; } if (scalar @license_files == 0 && $manifest =~ m/(README)[\n\s]/i) { @license_files = ($1);