diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-08-16 11:24:05 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-08-16 11:24:05 +0200 |
commit | d64f93faa336fea2a523c185bcc05cf82b0db5d9 (patch) | |
tree | e4e60fe596faeba293e65a6611131d96d240edfe /localgpgexpandkeyring | |
parent | 533019cc280a123b2ae9f345583cac0965a20598 (diff) |
Fix set gpg if $GPG _not_ set.
Diffstat (limited to 'localgpgexpandkeyring')
-rwxr-xr-x | localgpgexpandkeyring | 2 |
1 files changed, 1 insertions, 1 deletions
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) |