From 0c75ddd70615555cbefcd7b1d0744a695bb64dec Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 13 Feb 2018 00:48:47 +0000 Subject: move necessary options to TL_GNUPGMAINOPTS git-svn-id: svn://tug.org/texlive/trunk@46620 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-sign-file | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Master/tlpkg/bin') 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" -- cgit v1.2.3