utils/scancpan: handles README.pod as license file
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
86c779ee0d
commit
1120980f30
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user