File: jetring-signindex

package info (click to toggle)
jetring 0.30
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 532 kB
  • sloc: perl: 462; sh: 175; makefile: 25
file content (13 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

changesetdir="$1"

if [ -z "$changesetdir" ]; then
	echo "Usage: jetring-signindex dir" >&2
	exit 1
fi

GNUPGHOME=

rm -f "$changesetdir/index.gpg"
gpg -a --detach-sign --output "$changesetdir/index.gpg" --sign "$changesetdir/index"