summaryrefslogtreecommitdiff
path: root/commitpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'commitpkg.in')
-rw-r--r--commitpkg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/commitpkg.in b/commitpkg.in
index d55ce37..31b2443 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -162,8 +162,8 @@ for _arch in "${arch[@]}"; do
fi
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"
+ if ! gpg --verify "$sigfile" "$pkgfile" >/dev/null 2>&1; then
+ die "Signature %s is incorrect!" "$sigfile"
fi
uploads+=("$sigfile")
done