summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Peter <megastep@megastep.org>2021-09-22 14:55:14 -0700
committerStephane Peter <megastep@megastep.org>2021-09-22 14:55:14 -0700
commit3114b013a974dcc75b0d21a9b51e351ef89d2f3d (patch)
tree53548e95361495388823c13540c570ae10a0d1b4
parentf98f9db53a4bd1db1ae010d620562f1b5d6afe60 (diff)
downloadmakeself-3114b013a974dcc75b0d21a9b51e351ef89d2f3d.tar.gz
Honor $GPG_EXTRA when signing archives
-rwxr-xr-xmakeself.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeself.sh b/makeself.sh
index 3bd258e..f8f7da6 100755
--- a/makeself.sh
+++ b/makeself.sh
@@ -765,7 +765,7 @@ fi
if test "$SIGN" = y; then
GPG_PATH=`exec <&- 2>&-; which gpg || command -v gpg || type gpg`
if test -x "$GPG_PATH"; then
- SIGNATURE=`$GPG_PATH --pinentry-mode=loopback --batch --yes --passphrase "$GPG_PASSPHRASE" --output - --detach-sig $tmpfile | base64 | tr -d \\\\n`
+ SIGNATURE=`$GPG_PATH --pinentry-mode=loopback --batch --yes $GPG_EXTRA --passphrase "$GPG_PASSPHRASE" --output - --detach-sig $tmpfile | base64 | tr -d \\\\n`
if test "$QUIET" = "n"; then
echo "Signature: $SIGNATURE"
fi