aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2020-12-06 07:22:49 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-12-29 23:00:45 +0100
commit1120980f303e0658bf1b67db54f93fea551cb815 (patch)
tree4b290c46f63b692a51eceadfb9c3d72c900f4286
parent86c779ee0dc3956e7a13e989dd9003f180d47a19 (diff)
downloadbuildroot-1120980f303e0658bf1b67db54f93fea551cb815.tar.gz
buildroot-1120980f303e0658bf1b67db54f93fea551cb815.tar.bz2
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>
-rwxr-xr-xutils/scancpan3
1 files changed, 3 insertions, 0 deletions
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;
}