mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 18:33:48 +08:00
scancpan: also use README.md as default 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
b4501ca80d
commit
5b7563f3d6
@ -568,6 +568,9 @@ sub find_license_files {
|
||||
if (scalar @license_files == 0 && $manifest =~ m/(README)[\n\s]/i) {
|
||||
@license_files = ($1);
|
||||
}
|
||||
if (scalar @license_files == 0 && $manifest =~ m/(README\.md)[\n\s]/i) {
|
||||
@license_files = ($1);
|
||||
}
|
||||
return @license_files;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user