guix-commits
[Top][All Lists]
Advanced

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

13/20: openssl: Move documentation instead of copying and deleting it.


From: guix-commits
Subject: 13/20: openssl: Move documentation instead of copying and deleting it.
Date: Mon, 12 Jul 2021 11:15:43 -0400 (EDT)

mothacehe pushed a commit to branch wip-meson
in repository guix.

commit ec9d1f94c0b10a965fd91e237f94b42bcf7d62c4
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Jul 11 13:47:16 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 fd4a8b0..fcecc6b 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -416,10 +416,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]