diff options
Diffstat (limited to 'support/scripts')
-rwxr-xr-x | support/scripts/scancpan | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/scripts/scancpan b/support/scripts/scancpan index 1835fea378..0436d2a4b9 100755 --- a/support/scripts/scancpan +++ b/support/scripts/scancpan @@ -544,6 +544,9 @@ sub find_license_files { next if m|/|; push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|LICENSE)/i; } + if (scalar @license_files == 0 && $manifest =~ m/(README)[\n\s]/i) { + @license_files = ($1); + } return \@license_files; } |