commitpkg: Force unarmored signatures

Pacman cannot handle armored signatures, so force a generation of a
binary one using the --no-armor flag.
This commit is contained in:
Johannes Löthberg 2015-05-25 22:53:57 +02:00 committed by Evangelos Foutras
parent a1594ae1f6
commit 763d8ffb53
1 changed files with 1 additions and 1 deletions

View File

@ -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"