From: Francois Perrad Date: Fri, 26 Oct 2018 03:27:40 +0000 (+0200) Subject: scancpan: also use README.md as default license file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b7563f3d64b728a5bb8f84061b1d728605012da;p=buildroot.git scancpan: also use README.md as default license file Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/utils/scancpan b/utils/scancpan index 7c1e4236f9..e77863de34 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -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; }