From: Jim Meyering Date: Thu, 24 May 2012 08:22:29 +0000 (+0200) Subject: maint.mk: compute $(gpg_key_ID) more portably X-Git-Tag: v0.1~648 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=94a6552defb0ff9572dc33264018ae622f6e208d;p=gnulib.git 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 --- 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