* [Buildroot] [PATCH] scancpan: uses also README.md as default license file
@ 2018-10-26 3:27 Francois Perrad
2018-10-28 15:05 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2018-10-26 3:27 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
utils/scancpan | 3 +++
1 file changed, 3 insertions(+)
diff --git a/utils/scancpan b/utils/scancpan
index f9589a4ff..75c9a9ca6 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -569,6 +569,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.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-28 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-26 3:27 [Buildroot] [PATCH] scancpan: uses also README.md as default license file Francois Perrad
2018-10-28 15:05 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox