[Reproducible-commits] [debbindiff] 06/06: Use --show-field over sed.

Chris Lamb lamby at moszumanska.debian.org
Tue Feb 3 11:57:10 UTC 2015


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

lamby pushed a commit to branch master
in repository debbindiff.

commit f3b9dd9273b8a24a00ff943a16096252009caaef
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Feb 3 11:55:11 2015 +0000

    Use --show-field over sed.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index e6a9b7f..2d0f518 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-VERSION = $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
+VERSION = $(shell dpkg-parsechangelog --show-field Version)
 
 %:
 	dh $@ --with python2 --buildsystem=python_distutils

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list