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)
|
[--url=STRING] Include STRING as URL (default=$url)
|
||||||
[--stamp] Use a stamp file to avoid double signing
|
[--stamp] Use a stamp file to avoid double signing
|
||||||
[--dry-run] Do not actually run osslsigncode
|
[--dry-run] Do not actually run osslsigncode
|
||||||
|
(same as GPG_AUTHCODE_SIGN_MODE=disable)
|
||||||
[--template] Print a template for ~/.gnupg-autogenrc
|
[--template] Print a template for ~/.gnupg-autogenrc
|
||||||
[--version] Print version and exit
|
[--version] Print version and exit
|
||||||
EOF
|
EOF
|
||||||
@ -183,6 +184,9 @@ if [ ! -f $autogenrc ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ "$GPG_AUTHCODE_SIGN_MODE" = "disable" ] && dryrun=yes
|
||||||
|
|
||||||
|
|
||||||
# Define the cleanup routine for osslsigncode
|
# Define the cleanup routine for osslsigncode
|
||||||
cleanup()
|
cleanup()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user