projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c779e
)
utils/scancpan: handles README.pod as license file
author
Francois Perrad
<fperrad@gmail.com>
Sun, 6 Dec 2020 06:22:49 +0000
(07:22 +0100)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 22:00:45 +0000
(23:00 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scancpan
patch
|
blob
|
history
diff --git
a/utils/scancpan
b/utils/scancpan
index 327a58fc7868efe5105f4ad430e052474320357e..a1ec794edd57de43883e8955d1560c6a3cfad134 100755
(executable)
--- 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;
}