[dh-make-perl-cvs-dev] CVS dh-make-perl
CVS User gwolf
cvs at dh-make-perl.alioth.debian.org
Wed Mar 8 20:20:11 UTC 2006
Update of /cvsroot/dh-make-perl/dh-make-perl
In directory haydn:/tmp/cvs-serv11735
Modified Files:
dh-make-perl
Log Message:
Fixes bug #350728 (descriptions of modules with newlines)
--- /cvsroot/dh-make-perl/dh-make-perl/dh-make-perl 2005/10/25 14:07:38 1.39
+++ /cvsroot/dh-make-perl/dh-make-perl/dh-make-perl 2006/03/08 20:20:11 1.40
@@ -506,6 +506,8 @@
$my_desc =~ s/\n.*$//s;
$desc = $my_desc;
}
+ # Replace linefeeds (not followed by a space) in $desc with spaces
+ $desc =~ s/\n(?=\S)/ /gs;
unless ($longdesc) {
$longdesc = $parser->get('DESCRIPTION')
More information about the Dh-make-perl-cvs-dev
mailing list