utils: 'copy-recursively' keeps symlink mtime when #:keep-mtime? is true.
* guix/build/utils.scm (copy-recursively): In the "leaf" procedure, call 'set-file-time' also on symlinks.
This commit is contained in:
parent
b1e2ec008a
commit
cc6cb6e80a
@ -366,10 +366,10 @@ permissions. Write verbose output to the LOG port."
|
||||
(symlink target dest)))
|
||||
(else
|
||||
(copy-file file dest)
|
||||
(when keep-mtime?
|
||||
(set-file-time dest stat))
|
||||
(when keep-permissions?
|
||||
(chmod dest (stat:perms stat)))))))
|
||||
(chmod dest (stat:perms stat)))))
|
||||
(when keep-mtime?
|
||||
(set-file-time dest stat))))
|
||||
(lambda (dir stat result) ; down
|
||||
(let ((target (string-append destination
|
||||
(strip-source dir))))
|
||||
|
Loading…
Reference in New Issue
Block a user