projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4501ca
)
scancpan: also use README.md as default license file
author
Francois Perrad
<fperrad@gmail.com>
Fri, 26 Oct 2018 03:27:40 +0000
(
05:27
+0200)
committer
Thomas Petazzoni
<thomas.petazzoni@bootlin.com>
Sun, 28 Oct 2018 14:16:07 +0000
(15:16 +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 7c1e4236f9992f28be3483f2fd163e30ea36d572..e77863de34ca5cc6fcdd5654f5bd65c64d9e6918 100755
(executable)
--- 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;
}