summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-sign-file
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-04-23 13:36:37 +0000
committerNorbert Preining <preining@logic.at>2016-04-23 13:36:37 +0000
commitb498bd7d890babe060e8abe178fc5535acca4066 (patch)
tree4ef51ff8e46624bf972f59ff41e8715b15b9396d /Master/tlpkg/bin/tl-sign-file
parent384dffb6c7effd9e2b9a08a379181f0540b7a69d (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/bin/tl-sign-file')
-rwxr-xr-xMaster/tlpkg/bin/tl-sign-file8
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 \