From ccd05f6fe5ca90c969d8a468390ada162c1d9c92 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 28 Oct 2018 16:23:12 +0100 Subject: [PATCH] utils/scancpan: add a full stop to the help text when missing Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- utils/scancpan | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/scancpan b/utils/scancpan index e77863de34..5465ff4304 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -690,6 +690,7 @@ while (my ($distname, $dist) = each %dist) { mkdir $dirname unless -d $dirname; if ($need_target{$distname} && ($force || !-f $cfgname)) { $dist->{abstract} =~ s|\s+$||; + $dist->{abstract} .= q{.} unless $dist->{abstract} =~ m|\.$|; my $abstract = wrap( q{}, qq{\t }, $dist->{abstract} ); my $homepage = $dist->{resources}->{homepage} || qq{https://metacpan.org/release/${distname}}; say qq{write ${cfgname}} unless $quiet; -- 2.30.2