utils/scancpan: handles README.pod as license file
PATCH 1/2 utils/scancpan: handles README.pod as license file
Signed-off-by Francois Perrad <[email protected]>
--- utils/scancpan | 3 +++ 1 file changed, 3 insertions(+)
utils/scancpan +3 -0
@@ -575,6 +575,9 @@ sub find_license_files { if (scalar @license_files == 0 && $manifest =~ m/(README\.md)[\n\s]/i) { @license_files = ($1); } + if (scalar @license_files == 0 && $manifest =~ m/(README\.pod)[\n\s]/i) { + @license_files = ($1); + } return @license_files; }
Signature · 1 line
2.27.0
PATCH 2/2 utils/scancpan: add GPL* as license file
Signed-off-by Francois Perrad <[email protected]>
--- utils/scancpan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/scancpan +1 -1
@@ -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);
Signature · 1 line
2.27.0
PATCH 1/2 utils/scancpan: handles README.pod as license file
In reply to Francois PerradQuoted 4 lines · On Sun, 6 Dec 2020 07:22:49 +0100 Francois Perrad <[email protected]> wrote:
Signed-off-by Francois Perrad <[email protected]>--- utils/scancpan | 3 +++ 1 file changed, 3 insertions(+)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com