mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
utils: Preserve symbolic links in 'wrap-program'.
* guix/build/utils.scm (wrap-program): Preserve symbolic links instead of copying the contents of the link. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Closes <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19743>.
This commit is contained in:
parent
b01f89675d
commit
da466f7ff6
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ (define (wrapper-target number)
|
|||
(if (zero? number)
|
||||
(let ((prog-real (string-append (dirname prog) "/."
|
||||
(basename prog) "-real")))
|
||||
(copy-file prog prog-real)
|
||||
(rename-file prog prog-real)
|
||||
prog-real)
|
||||
(wrapper-file-name number)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue