From 94a6552defb0ff9572dc33264018ae622f6e208d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 24 May 2012 10:22:29 +0200 Subject: [PATCH] maint.mk: compute $(gpg_key_ID) more portably * top/maint.mk (gpg_key_ID): Use awk in place of sed '{...;...;}'. That use of sed is not portable to some fringe systems. Reported by Paul Eggert in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30793/focus=30802 --- ChangeLog | 8 ++++++++ top/maint.mk | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5296ce5d9..686228ca0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-05-24 Jim Meyering + + maint.mk: compute $(gpg_key_ID) more portably + * top/maint.mk (gpg_key_ID): Use awk in place of sed '{...;...;}'. + That use of sed is not portable to some fringe systems. + Reported by Paul Eggert in + http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30793/focus=30802 + 2012-05-23 Paul Eggert mktime: sync from glibc diff --git a/top/maint.mk b/top/maint.mk index 8cea95b25..974641077 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1234,7 +1234,7 @@ bootstrap-tools ?= autoconf,automake,gnulib gpg_key_ID ?= \ $$(git cat-file tag v$(VERSION) \ | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \ - | sed -n '/^\[GNUPG:\] ERRSIG /{s///;s/ .*//p;q;}') + | awk '/^\[GNUPG:\] ERRSIG / {print $3; exit}') translation_project_ ?= coordinator@translationproject.org -- 2.11.0