summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-05-25 22:53:57 +0200
committerEvangelos Foutras <evangelos@foutrelis.com>2015-06-06 15:22:33 +0300
commit763d8ffb53c55fa3a1a8a46f779fd959ea776123 (patch)
tree3ef432d59eab0ec833edde6b7d55d7c926d6578c
parenta1594ae1f6cd183efaee5c52eca01fe5d708b1e1 (diff)
downloaddevtools32-763d8ffb53c55fa3a1a8a46f779fd959ea776123.tar.xz
commitpkg: Force unarmored signatures
Pacman cannot handle armored signatures, so force a generation of a binary one using the --no-armor flag.
-rw-r--r--commitpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg.in b/commitpkg.in
index 1095006..d779e96 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -147,7 +147,7 @@ for _arch in ${arch[@]}; do
if [[ -n $GPGKEY ]]; then
SIGNWITHKEY="-u ${GPGKEY}"
fi
- gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile}" || die
+ gpg --detach-sign --use-agent --no-armor ${SIGNWITHKEY} "${pkgfile}" || die
fi
if ! gpg --verify "$sigfile" >/dev/null 2>&1; then
die "Signature %s.sig is incorrect!" "$pkgfile"