From: Francois Perrad Date: Wed, 10 Oct 2018 06:46:10 +0000 (+0200) Subject: scancpan: trim the abstract X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8966be9d21a9569104e4988397c37fd4703a6854;p=buildroot.git scancpan: trim the abstract Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/utils/scancpan b/utils/scancpan index 0724049441..20ab27caa1 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -688,6 +688,7 @@ while (my ($distname, $dist) = each %dist) { my $brname = brname( $fsname ); mkdir $dirname unless -d $dirname; if ($need_target{$distname} && ($force || !-f $cfgname)) { + $dist->{abstract} =~ s|\s+$||; 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;