[Pkg-octave-commit] [octave-pkg-dev] 01/02: octave-pkg-helper: Drop leading newline in parsed description

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sun Jun 26 16:25:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave-pkg-dev.

commit 4f8a803c26072cbb85899719c33eafbb273ed86f
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Jun 26 08:45:01 2016 -0300

    octave-pkg-helper: Drop leading newline in parsed description
---
 octave-pkg-helper | 1 +
 1 file changed, 1 insertion(+)

diff --git a/octave-pkg-helper b/octave-pkg-helper
index f8daa45..b703475 100755
--- a/octave-pkg-helper
+++ b/octave-pkg-helper
@@ -49,6 +49,7 @@ if (-f "DESCRIPTION") {
 
     $desc = $fields->get ('description');
     $desc =~ s/\n */\n/g;
+    chomp $desc;
     $desc =~ s/\n/\${Newline}/g;
 }
 

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-pkg-dev.git



More information about the Pkg-octave-commit mailing list