[linux-signed] 03/06: Fix indentation of descriptions copied from unsigned packages

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Tue Jun 7 16:29:31 UTC 2016


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

benh pushed a commit to branch master
in repository linux-signed.

commit b0ebf17c828cf6ddf9214a2f67ef3c66093a70f8
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Mon Jun 6 19:52:24 2016 +0100

    Fix indentation of descriptions copied from unsigned packages
---
 debian/rules.real | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules.real b/debian/rules.real
index b167587..f8364ea 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -37,8 +37,8 @@ install-signed:
 	for field in Depends Provides Suggests Recommends Conflicts Breaks; do \
 		echo >> debian/$(PACKAGE_NAME).substvars "unsigned:$$field=$$(dpkg-query -f '$${'$$field'}' -W $(IMAGE_PACKAGE_NAME))"; \
 	done
-	echo >> debian/$(PACKAGE_NAME).substvars "unsigned:DescriptionShort=$$(dpkg-query -f '$${Description}' -W $(IMAGE_PACKAGE_NAME) | head -n 1)"; \
-	echo >> debian/$(PACKAGE_NAME).substvars "unsigned:DescriptionLong=$$(dpkg-query -f '$${Description}' -W $(IMAGE_PACKAGE_NAME) | tail -n +2 | sed -z 's/\$$/$${}/g; s/\n/$${Newline}/g')"; \
+	echo >> debian/$(PACKAGE_NAME).substvars "unsigned:DescriptionShort=$$(dpkg-query -f '$${Description}' -W $(IMAGE_PACKAGE_NAME) | head -n 1)"
+	echo >> debian/$(PACKAGE_NAME).substvars "unsigned:DescriptionLong=$$(dpkg-query -f '$${Description}' -W $(IMAGE_PACKAGE_NAME) | tail -n +2 | sed -rz 's/\$$/$${}/g; s/^ //; s/\n \.?/$${Newline}/g')"
 	dh_gencontrol -- $(GENCONTROL_ARGS)
 	dh_md5sums
 	dh_builddeb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-signed.git



More information about the Kernel-svn-changes mailing list