Skip to contentSkip to conversation

scancpan: uses also README.md as default license file

PATCH New Francois Perrad 2 participants 2 messages Oct 26, 2018 – Oct 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scancpan: uses also README.md as default license file

---
 utils/scancpan | 3 +++
 1 file changed, 3 insertions(+)
utils/scancpan +3 -0
index f9589a4ff..75c9a9ca6 100755
@@ -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;
 }
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 scancpan: uses also README.md as default license file

Hello,

Quoted 4 lines · Francois Perrad
---
 utils/scancpan | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com