[Kernel-handbook-general] [PATCH 1/2] Use dpkg-parsechangelog -S option instead of piping through sed

Ben Hutchings ben at decadent.org.uk
Thu Nov 5 22:30:49 UTC 2015


---
I've pushed this to master as it should be uncontroversial.

Ben.

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c1bdf7f..c089076 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-version := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')
+version := $(shell dpkg-parsechangelog -SVersion)
 date    := $(shell date)
 
 LANG_PO := ja

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20151105/d820f332/attachment.sig>


More information about the Kernel-handbook-general mailing list