summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
Diffstat (limited to 'guix')
-rw-r--r--guix/build/cvs.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/build/cvs.scm b/guix/build/cvs.scm
index bd5c50a51a..033b626b96 100644
--- a/guix/build/cvs.scm
+++ b/guix/build/cvs.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -58,7 +59,10 @@ Return #t on success, #f otherwise."
"-D" "-r")
revision
module))
- (rename-file module directory)
+ ;; Copy rather than rename in case MODULE and DIRECTORY are on
+ ;; different devices.
+ (copy-recursively module directory)
+
(with-directory-excursion directory
(for-each delete-file-recursively (find-cvs-directories)))
#t))