Merge fort-nix/nix-bitcoin#444: fetch-release: add missing homedir to gpg command

296e103228 fetch-release: add missing homedir to gpg command (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 296e103228

Tree-SHA512: 722f80fc16d85c866af9a6d9094ca5edbb1955dc5d455300ba07fc57c66a787c91cadf534773ebaec744c577238226668f34f9c1f2080fa563b07d4161e1d6e8
This commit is contained in:
Jonas Nick 2022-01-21 15:47:32 +00:00
commit f8ce24647e
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ mkdir -p -m 700 "$GPG_HOME"
# Import key
gpg --homedir $GPG_HOME --import "$scriptDir/key-jonasnick.bin" &> /dev/null
# Check that exactly one key was imported
(($(gpg --list-keys --with-colons | grep -c pub) == 1))
(($(gpg --homedir $GPG_HOME --list-keys --with-colons | grep -c pub) == 1))
# Verify key fingerprint
gpg --homedir $GPG_HOME --list-keys "36C7 1A37 C9D9 88BD E825 08D9 B1A7 0E4F 8DCD 0366" > /dev/null