From 1120980f303e0658bf1b67db54f93fea551cb815 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 6 Dec 2020 07:22:49 +0100 Subject: [PATCH] utils/scancpan: handles README.pod as 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 327a58fc78..a1ec794edd 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -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; } -- 2.30.2