[Git][haskell-team/haskell-devscripts][master] Drop dot placeholders for empty lines in (X-)Description. (Closes: #1009997)

Felix Lechner (@lechner) gitlab at salsa.debian.org
Sun Apr 24 07:52:20 BST 2022



Felix Lechner pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
7a92a0a0 by Felix Lechner at 2022-04-23T23:51:44-07:00
Drop dot placeholders for empty lines in (X-)Description. (Closes: #1009997)

This bug was introduced in commit 9389c725 when the author overlooked the
second 'sed' expression on this line:

  https://salsa.debian.org/haskell-team/haskell-devscripts/-/blob/f1728c583936c8dd77059fdf74e7276ca8d2a178/dh_haskell_blurbs#L97

The fix was verified with the haskell-exceptions sources mentioned in the bug
report.

Thanks to Scott Talbert for bringing the matter to our attention!

- - - - -


1 changed file:

- dh_haskell_description


Changes:

=====================================
dh_haskell_description
=====================================
@@ -48,6 +48,9 @@ $long_description //= $EMPTY;
 # drop initial spaces
 $long_description =~ s{^ [ ] }{}gmx;
 
+# drop dot placeholder for empty lines
+$long_description =~ s{^ [.] }{}gmx;
+
 # prepare for dpkg-gencontrol
 $long_description =~ s{ \n }{\$\{Newline\}}gx;
 



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/7a92a0a0a293f0993f76704ac7b705c4c32c9e84

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/7a92a0a0a293f0993f76704ac7b705c4c32c9e84
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220424/fa751b08/attachment.htm>


More information about the Pkg-haskell-commits mailing list