]> git.sur5r.net Git - bacula/bacula/commitdiff
allow to use ./sign alone
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 11 Oct 2011 14:24:13 +0000 (16:24 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:03 +0000 (14:50 +0200)
bacula/release/sign

index 872b2af749a75966d4b515c4b8886be33ca36547..f2bfdd962d1d708ac94ef2f43976344f23d76474 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
+gpgkey=${gpgkey:-bacula}
 gpg --detach-sign --armor --default-key $gpgkey -o $1.sig $1
 gpg --verify $1.sig