diff options
author | Norbert Preining <preining@logic.at> | 2016-04-23 13:36:37 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-04-23 13:36:37 +0000 |
commit | b498bd7d890babe060e8abe178fc5535acca4066 (patch) | |
tree | 4ef51ff8e46624bf972f59ff41e8715b15b9396d /Master/tlpkg | |
parent | 384dffb6c7effd9e2b9a08a379181f0540b7a69d (diff) |
tl-sign-file: allow for TL_GNUPG env var
git-svn-id: svn://tug.org/texlive/trunk@40701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/bin/tl-sign-file | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-sign-file b/Master/tlpkg/bin/tl-sign-file index 779c0af84e7..b831bd86d77 100755 --- a/Master/tlpkg/bin/tl-sign-file +++ b/Master/tlpkg/bin/tl-sign-file @@ -11,8 +11,14 @@ fi # remove previous signature rm -f "$1.asc" +prg=gpg +if ! [ "x$TL_GNUPG" = "x" ] ; then + # use the environment variable TL_GNUPG + prg=$TL_GNUPG +fi + # sign -gpg --batch \ +$prg --batch \ --homedir /home/texlive/.gnupg \ --passphrase-file /home/texlive/.gnupg/passphrase \ --armor \ |