[Reproducible-commits] [notes] 01/01: Suggest --show-field over piping to sed.

Chris Lamb lamby at moszumanska.debian.org
Tue Jan 27 06:17:02 UTC 2015


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

lamby pushed a commit to branch master
in repository notes.

commit c5b23e6b2f5619253ff9993a0dad853e1d0964db
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Jan 27 06:00:51 2015 +0000

    Suggest --show-field over piping to sed.
---
 issues.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/issues.yml b/issues.yml
index 57e0c0f..1d4dfb7 100644
--- a/issues.yml
+++ b/issues.yml
@@ -110,7 +110,7 @@ not_using_dh_builddeb:
   description: |
     We currently adjust the file mtimes in dh_builddeb. Packages which
     calls `dpkg --build` directly should have a prior call to:
-    `BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')`
+    `BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)`
     and
     `find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | \
          xargs -0r touch --no-dereference --date='$(BUILD_DATE)'`

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



More information about the Reproducible-commits mailing list