File: jetring-signindex

package info (click to toggle)
jetring 0.20
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 464 kB
  • ctags: 26
  • sloc: perl: 462; sh: 171; 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"