summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-sign-file
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-12 00:39:49 +0000
committerKarl Berry <karl@freefriends.org>2018-02-12 00:39:49 +0000
commit6620b888aeecb313e933b02c365959981dcd5d8f (patch)
treec97ec7a477da9bfc758bf508346bfdc8bb7d408d /Master/tlpkg/bin/tl-sign-file
parent4545b881bc1c7f2ebd05eb1a8b858ce1c49c7a12 (diff)
more checks that signing/checksumming was successful for the nightly build
git-svn-id: svn://tug.org/texlive/trunk@46604 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-sign-file')
-rwxr-xr-xMaster/tlpkg/bin/tl-sign-file6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-sign-file b/Master/tlpkg/bin/tl-sign-file
index b831bd86d77..674e5e5db93 100755
--- a/Master/tlpkg/bin/tl-sign-file
+++ b/Master/tlpkg/bin/tl-sign-file
@@ -1,7 +1,7 @@
#!/bin/sh
# $Id$
# Public domain. Originally written 2016, Norbert Preining
-# Sign a file for release in TeX Live
+# Sign a file for release in TeX Live.
if test $# -ne 1; then
echo "$0: Exactly one argument must be given, the file to sign." >&2
@@ -12,13 +12,13 @@ fi
rm -f "$1.asc"
prg=gpg
-if ! [ "x$TL_GNUPG" = "x" ] ; then
+if test "x$TL_GNUPG" != "x" ; then
# use the environment variable TL_GNUPG
prg=$TL_GNUPG
fi
# sign
-$prg --batch \
+"$prg" --batch \
--homedir /home/texlive/.gnupg \
--passphrase-file /home/texlive/.gnupg/passphrase \
--armor \