summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Souza Franco <gabrielfrancosouza@gmail.com>2016-02-14 15:00:57 -0200
committerGabriel Souza Franco <gabrielfrancosouza@gmail.com>2016-02-17 19:17:32 -0200
commit58eb69ed121bc0a3ef26ffcd44c83b6a1593cb7e (patch)
tree25d623528ee39ea87e74d8a6a82754246273fe3b
parentccebfc17bac2cd879b28c47ed32739efcc35623a (diff)
Generate unarmored signatures in commitpkg
This change was made originally in devtools@763d8ff Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
-rwxr-xr-xcommitpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/commitpkg b/commitpkg
index 1a554cf..8ab72bc 100755
--- a/commitpkg
+++ b/commitpkg
@@ -151,7 +151,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"
@@ -169,7 +169,7 @@ for _arch in ${arch[@]}; do
if [[ -n $GPGKEY ]]; then
SIGNWITHKEY="-u ${GPGKEY}"
fi
- gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile_debug}" || die
+ gpg --detach-sign --use-agent --no-armor ${SIGNWITHKEY} "${pkgfile_debug}" || die
fi
if ! gpg --verify "$sigfile_debug" >/dev/null 2>&1; then
die "Signature %s.sig is incorrect!" "$pkgfile_debug"