summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-sign-file
diff options
context:
space:
mode:
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 \