* top/maint.mk (gpg_key_ID): Extract GPG key ID from signed tag, but
without using a temporary file. Based on a suggestion from Werner Koch
in http://thread.gmane.org/gmane.comp.encryption.gpg.devel/16496
+2011-11-07 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: extract GPG key ID without using a temporary file
+ * top/maint.mk (gpg_key_ID): Extract GPG key ID from signed tag, but
+ without using a temporary file. Based on a suggestion from Werner Koch
+ in http://thread.gmane.org/gmane.comp.encryption.gpg.devel/16496
+
2011-11-07 Eric Blake <eblake@redhat.com>
grantpt: fix typo
2011-11-07 Eric Blake <eblake@redhat.com>
grantpt: fix typo
# If it's not already specified, derive the GPG key ID from
# the signed tag we've just applied to mark this release.
gpg_key_ID ?= \
# If it's not already specified, derive the GPG key ID from
# the signed tag we've just applied to mark this release.
gpg_key_ID ?= \
- $$(git cat-file tag v$(VERSION) > .ann-sig \
- && gpgv .ann-sig - < /dev/null 2>&1 \
- | sed -n '/.*key ID \([0-9A-F]*\)/s//\1/p'; rm -f .ann-sig)
+ $$(git cat-file tag v$(VERSION) \
+ | gpgv --status-fd 1 --keyring /dev/null - - 2>/dev/null \
+ | sed -n '/^\[GNUPG:\] ERRSIG /{s///;s/ .*//p;q}')
translation_project_ ?= coordinator@translationproject.org
translation_project_ ?= coordinator@translationproject.org