From 5b7563f3d64b728a5bb8f84061b1d728605012da Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 26 Oct 2018 05:27:40 +0200 Subject: [PATCH] scancpan: also use README.md as default license file Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- utils/scancpan | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.30.2