[Top][All Lists]

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

[debbugs-tracker] bug#19743: closed ('wrap-program' should preserve symb

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#19743: closed ('wrap-program' should preserve symbolic links)
Date: Mon, 16 Feb 2015 14:28:02 +0000

Your message dated Mon, 16 Feb 2015 15:27:20 +0100
with message-id <address@hidden>
and subject line Close
has caused the debbugs.gnu.org bug report #19743,
regarding 'wrap-program' should preserve symbolic links
to be marked as done.

(If you believe you have received this mail in error, please contact

19743: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19743
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 'wrap-program' should preserve symbolic links Date: Sun, 01 Feb 2015 22:41:57 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
When ‘wrap-program’ is called on a symbolic link, it should preserve its
symboliclinkness instead of copying it.


diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 4407f9a..56f682c 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -837,7 +837,7 @@ the previous wrapper."
     (if (zero? number)
         (let ((prog-real (string-append (dirname prog) "/."
                                         (basename prog) "-real")))
-          (copy-file prog prog-real)
+          (rename-file prog prog-real)
         (wrapper-file-name number)))

--- End Message ---
--- Begin Message --- Subject: Close Date: Mon, 16 Feb 2015 15:27:20 +0100 User-agent: Mutt/1.5.23 (2014-03-12)
Applied in commit da466f7ff63e34aca271e603090f25ba471f009e.


--- End Message ---

reply via email to

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