GNU bug report logs -
#28485
[PATCH 1/3] base: Make working copy writable.
Previous Next
Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>
Date: Sun, 17 Sep 2017 20:14:03 UTC
Severity: normal
Tags: patch
Done: Jan Nieuwenhuizen <janneke <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 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.
--
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com
This bug report was last modified 7 years and 325 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.