From 8966be9d21a9569104e4988397c37fd4703a6854 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 10 Oct 2018 08:46:10 +0200 Subject: [PATCH] scancpan: trim the abstract 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 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; -- 2.30.2