diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-07-14 13:13:00 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-07-14 15:57:40 +0200 |
commit | 0196b866d3fbc9155864a337381f6a55a9a65234 (patch) | |
tree | 9f6fe864cb32c0d1b4d61edf023acdeec783d3cb /gnu/packages | |
parent | f64a35b9de0905d24b3bacca51bbf095dcaaa4cd (diff) | |
download | guix-0196b866d3fbc9155864a337381f6a55a9a65234.tar.gz |
openssl: Move documentation instead of copying and deleting it.
* gnu/packages/tls.scm (openssl)[arguments]<#:phases>{move-extra-documentation}: Use 'rename-file' instead of 'copy-recursively' and 'delete-file-recursively'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tls.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 8a7f74e6c0..92d7950747 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -420,10 +420,10 @@ required structures.") (doc #$output:doc) (man-target (string-append doc "/share/man/man3")) (html-target (string-append doc "/share/doc/openssl"))) - (copy-recursively man3 man-target) - (delete-file-recursively man3) - (copy-recursively html html-target) - (delete-file-recursively html)))) + (mkdir-p (dirname man3-target)) + (mkdir-p (dirname html-target)) + (rename-file man3 man-target) + (rename-file html html-target)))) (add-after 'install 'remove-miscellany (lambda _ |