diff options
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/tl-sign-file | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-sign-file b/Master/tlpkg/bin/tl-sign-file index 73721ebf54c..4398262b6eb 100755 --- a/Master/tlpkg/bin/tl-sign-file +++ b/Master/tlpkg/bin/tl-sign-file @@ -14,16 +14,19 @@ rm -f "$1.asc" prg=gpg gpgopts="--batch --homedir /home/texlive/.gnupg \ --passphrase-file /home/texlive/.gnupg/passphrase \ - --armor --detach-sign --local-user 0x06BAB6BC " + --local-user 0x06BAB6BC " +gpgmainopts="--armor --detach-sign" +# use the environment variables if available if test -n "$TL_GNUPG" ; then - # use the environment variable TL_GNUPG prg=$TL_GNUPG fi if test -n "$TL_GNUPGOPTS" ; then - # use the environment variable TL_GNUPGOPTS gpgopts=$TL_GNUPGOPTS fi +if test -n "$TL_GNUPGMAINOPTS" ; then + gpgmainopts=$TL_GNUPGMAINOPTS +fi # sign -"$prg" $gpgopts "$1" +"$prg" $gpgmainopts $gpgopts "$1" |