fetch-release: add missing homedir to gpg command
This commit is contained in:
parent
c5c6f1e75e
commit
296e103228
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user