mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-03 21:21:08 +01:00
tools: Add envvar GPG_AUTHCODE_SIGN_MODE to disable signing.
* tools/gpg-authcode-sign.sh: Check envvar for value "disable".
This commit is contained in:
parent
fdcc69c29d
commit
c68eca6363
@ -24,6 +24,7 @@ Options:
|
||||
[--url=STRING] Include STRING as URL (default=$url)
|
||||
[--stamp] Use a stamp file to avoid double signing
|
||||
[--dry-run] Do not actually run osslsigncode
|
||||
(same as GPG_AUTHCODE_SIGN_MODE=disable)
|
||||
[--template] Print a template for ~/.gnupg-autogenrc
|
||||
[--version] Print version and exit
|
||||
EOF
|
||||
@ -183,6 +184,9 @@ if [ ! -f $autogenrc ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ "$GPG_AUTHCODE_SIGN_MODE" = "disable" ] && dryrun=yes
|
||||
|
||||
|
||||
# Define the cleanup routine for osslsigncode
|
||||
cleanup()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user