blob: 2578698f8ff6d3d9154fbaacfc1eeb717651d260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# Public domain. Originally written 2016, Norbert Preining
# Sign a file for release in TeX Live
if [ -z "$1" ] ; then
echo "no argument given, nothing to sign" >&2
exit 1
fi
# remove previous signature
rm -f "$1.asc"
# sign
gpg --batch --homedir /home/texlive/.gnupg \
--passphrase-file /home/texlive/.gnupg/passphrase \
--armor --detach-sign --local-user 0x06BAB6BC "$1"
|