From d64f93faa336fea2a523c185bcc05cf82b0db5d9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Aug 2015 11:24:05 +0200 Subject: Fix set gpg if $GPG _not_ set. --- localgpgexpandkeyring | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localgpgexpandkeyring b/localgpgexpandkeyring index 9eabf1e..fc8a79f 100755 --- a/localgpgexpandkeyring +++ b/localgpgexpandkeyring @@ -4,7 +4,7 @@ set -e # set e.g. GPG=gpg2 in environment to override binary to use -GPG=${GPG:+gpg} +GPG=${GPG:-gpg} # my keys are those with a corresponding secret key mykeys=$($GPG --batch --list-secret-keys --with-colons | grep '^sec' | cut -d: -f5) -- cgit v1.2.3