[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28485] [PATCH 1/3] base: Make working copy writable.

From: Jan Nieuwenhuizen
Subject: [bug#28485] [PATCH 1/3] base: Make working copy writable.
Date: Sun, 17 Sep 2017 22:11:54 +0200

* src/cuirass/base.scm (copy-repository-cache): Make working copy writable.
Fixes guix .po build errors.
 src/cuirass/base.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 02e587a..1711c30 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -143,7 +143,8 @@ directory and the sha1 of the top level commit in this 
       (let ((name (assq-ref spec #:name)))
         ;; Flush any directory with the same name.
         (false-if-exception (delete-file-recursively name))
-        (copy-recursively repo name)))))
+        (copy-recursively repo name)
+        (system* "chmod" "-R" "+w" name)))))
 (define (compile dir)
   ;; Required for fetching Guix bootstrap tarballs.
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond
Freelance IT | Avatar®

reply via email to

[Prev in Thread] Current Thread [Next in Thread]