aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2017-09-16 13:51:09 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2017-09-17 21:47:28 +0200
commit88363faa83631feb7af2395b9a33beb267ec050c (patch)
treeafecd71b5dd789379ae69a0ade9ed232f1646415
parentfc204ffbca5c2ada0ff61c5dbe497c1d17319464 (diff)
downloadcuirass-88363faa83631feb7af2395b9a33beb267ec050c.tar
cuirass-88363faa83631feb7af2395b9a33beb267ec050c.tar.gz
base: Make working copy writable.
* src/cuirass/base.scm (copy-repository-cache): Make working copy writable. Fixes guix .po build errors.
-rw-r--r--src/cuirass/base.scm3
1 files changed, 2 insertions, 1 deletions
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 directory."
(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.