[Buildroot] [git commit] scancpan: trim the abstract

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Oct 10 07:05:45 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=8966be9d21a9569104e4988397c37fd4703a6854
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 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;


More information about the buildroot mailing list