From de28fefd7733619c6bcc3938bd8a5b5717fc7948 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 31 Mar 2014 21:53:51 +0200 Subject: guix archive: Make sure $sysconfdir/guix exists in '--authorize'. * guix/scripts/archive.scm (authorize-key): Add 'mkdir-p' call. Reported by Alex Sassmannshausen . --- guix/scripts/archive.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'guix/scripts') diff --git a/guix/scripts/archive.scm b/guix/scripts/archive.scm index c900fcecb9..0f9e4d8360 100644 --- a/guix/scripts/archive.scm +++ b/guix/scripts/archive.scm @@ -286,6 +286,7 @@ the input port." ;; Add KEY to the ACL and write that. (let ((acl (public-keys->acl (cons key (acl->public-keys acl))))) + (mkdir-p (dirname %acl-file)) (with-atomic-file-output %acl-file (lambda (port) (display (canonical-sexp->string acl) port)))))) -- cgit v1.2.3