guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/22: openssl: Move documentation instead of copying and deleting it.


From: guix-commits
Subject: 15/22: openssl: Move documentation instead of copying and deleting it.
Date: Wed, 14 Jul 2021 13:20:51 -0400 (EDT)

mothacehe pushed a commit to branch core-updates
in repository guix.

commit 0196b866d3fbc9155864a337381f6a55a9a65234
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Jul 14 13:13:00 2021 +0200

    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>
---
 gnu/packages/tls.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 8a7f74e..92d7950 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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]