summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-24 10:22:29 +0200
committerJim Meyering <meyering@redhat.com>2012-05-24 10:24:40 +0200
commit94a6552defb0ff9572dc33264018ae622f6e208d (patch)
treefcd2b3384c6f9abd6ec88281f9982306a3582a1e /top
parent8c2718949a214f817f0a62a85c2594c1925753a7 (diff)
downloadgnulib-94a6552defb0ff9572dc33264018ae622f6e208d.tar.gz
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
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 8cea95b259..9746410771 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