build-system/gnu: patch-shebangs: Also patch shebangs in "/libexec".
Shebangs in "/bin" and "/sbin" subdirectories are currently patched by patch-shebangs. But shebangs in "/libexec" currently aren't, even though they occasionally need to be. E.g. when using wrap-program on an executable in "libexec" without an explicit #:sh when cross-compiling. * guix/build/gnu-build-system.scm (patch-shebangs): Add "/libexec" to 'bin-directories'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
285f3b58c6
commit
198df03756
@ -407,7 +407,8 @@ makefiles."
|
||||
(match-lambda
|
||||
((_ . dir)
|
||||
(list (string-append dir "/bin")
|
||||
(string-append dir "/sbin")))))
|
||||
(string-append dir "/sbin")
|
||||
(string-append dir "/libexec")))))
|
||||
|
||||
(define output-bindirs
|
||||
(append-map bin-directories outputs))
|
||||
|
Loading…
x
Reference in New Issue
Block a user