summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-25 16:16:38 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-25 17:28:30 -0400
commitfb9cba77198da23c2eb6fbede2d53851af9576ac (patch)
tree120e257b5aab69dc720e1a27b6d3b030e930cead
parent6092b9d93df1c3d5170a2b6aa0275aebef18bd37 (diff)
librerelease: mimic makepkg GPG signatures
https://lists.parabola.nu/pipermail/dev/2017-May/005515.html
-rwxr-xr-xsrc/abslibre-tools/librerelease4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index e6c180e..0009336 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -70,8 +70,8 @@ create_signature() {
if [[ -n $GPGKEY ]]; then
SIGNWITHKEY=(-u "${GPGKEY}")
fi
- # The signature will be generated directly in ascii-friendly format
- gpg --detach-sign --use-agent "${SIGNWITHKEY[@]}" "$filename" || ret=$EXIT_FAILURE
+
+ gpg --detach-sign --use-agent "${SIGNWITHKEY[@]}" --no-armor "$filename" &>/dev/null || ret=$EXIT_FAILURE
if (( ! ret )); then