mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
utils/scancpan: add a full stop to the help text when missing
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
6e122b4700
commit
ccd05f6fe5
@@ -690,6 +690,7 @@ while (my ($distname, $dist) = each %dist) {
|
|||||||
mkdir $dirname unless -d $dirname;
|
mkdir $dirname unless -d $dirname;
|
||||||
if ($need_target{$distname} && ($force || !-f $cfgname)) {
|
if ($need_target{$distname} && ($force || !-f $cfgname)) {
|
||||||
$dist->{abstract} =~ s|\s+$||;
|
$dist->{abstract} =~ s|\s+$||;
|
||||||
|
$dist->{abstract} .= q{.} unless $dist->{abstract} =~ m|\.$|;
|
||||||
my $abstract = wrap( q{}, qq{\t }, $dist->{abstract} );
|
my $abstract = wrap( q{}, qq{\t }, $dist->{abstract} );
|
||||||
my $homepage = $dist->{resources}->{homepage} || qq{https://metacpan.org/release/${distname}};
|
my $homepage = $dist->{resources}->{homepage} || qq{https://metacpan.org/release/${distname}};
|
||||||
say qq{write ${cfgname}} unless $quiet;
|
say qq{write ${cfgname}} unless $quiet;
|
||||||
|
|||||||
Reference in New Issue
Block a user