mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-01 02:44:59 +00:00
gnupg: Fix gnupg arguments.
Followup to a6094158aa.
* guix/gnupg.scm (gnupg-receive-keys): Unquote server argument and pass
programname as argv[0].
Change-Id: I74eb3b9f4be9ca843ef38843ebbca0256e9b6b26
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #9555
This commit is contained in:
+2
-2
@@ -194,12 +194,12 @@ GnuPG's default/configured one. The key is added to KEYRING."
|
||||
(mkdir-p (dirname keyring))
|
||||
(call-with-output-file keyring (const #t))) ;create an empty keybox
|
||||
|
||||
(let* ((keyserver-flags (if server '("--keyserver" server) '()))
|
||||
(let* ((keyserver-flags (if server `("--keyserver" ,server) '()))
|
||||
(default-flags (list "--no-default-keyring"
|
||||
"--keyring" keyring
|
||||
"--recv-keys" fingerprint/key-id))
|
||||
(gpg-flags (append keyserver-flags default-flags))
|
||||
(pid (spawn (%gpg-command) gpg-flags)))
|
||||
(pid (spawn (%gpg-command) (cons (%gpg-command) gpg-flags))))
|
||||
(match (waitpid pid)
|
||||
((_ . status)
|
||||
(zero? status)))))
|
||||
|
||||
Reference in New Issue
Block a user