From b498bd7d890babe060e8abe178fc5535acca4066 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 23 Apr 2016 13:36:37 +0000 Subject: tl-sign-file: allow for TL_GNUPG env var git-svn-id: svn://tug.org/texlive/trunk@40701 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-sign-file | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg/bin/tl-sign-file') 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 \ -- cgit v1.2.3