summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-01-10 08:42:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-01-10 08:42:21 -0700
commit22f5cf8dceec4ece5e09077b4b669771fe1c40d8 (patch)
tree18056e55fb239a2f17d51f6c766b999d3c384ae8 /lib
parent43afe3ee9234a28bdbb9e64e80c8877954e9cac1 (diff)
filter lines matching /;;/ out of long desc
Diffstat (limited to 'lib')
-rw-r--r--lib/DhMakeELPA/Command/Packaging.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DhMakeELPA/Command/Packaging.pm b/lib/DhMakeELPA/Command/Packaging.pm
index a729600..b928989 100644
--- a/lib/DhMakeELPA/Command/Packaging.pm
+++ b/lib/DhMakeELPA/Command/Packaging.pm
@@ -188,7 +188,7 @@ sub extract_description {
if ( $lines =~ /;;; Commentary:/ ) {
$lines =~ /.*Commentary:\n\n(.*?)\n\n;;; Code:.*/s;
if ( defined $1 ) {
- $long_desc = $1 =~ s/;; //rsg;
+ $long_desc = $1 =~ s/;;[ ]*//rsg;
}
}
$fh->close;