fetch-release: add missing homedir to gpg command

This commit is contained in:
Jonas Nick 2022-01-21 14:20:38 +00:00
parent c5c6f1e75e
commit 296e103228
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

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