mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: glibc: _PATH_BSHELL refers to our static bash.
* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in paths.h to refer to STATIC-BASH.
This commit is contained in:
parent
57f65bcc9c
commit
d56f8d5e74
1 changed files with 7 additions and 0 deletions
|
@ -553,6 +553,13 @@ (define-public glibc
|
||||||
(("/bin/sh")
|
(("/bin/sh")
|
||||||
(string-append bash "/bin/bash")))
|
(string-append bash "/bin/bash")))
|
||||||
|
|
||||||
|
;; Same for the shell used by the 'exec' functions for
|
||||||
|
;; scripts that lack a shebang.
|
||||||
|
(substitute* (find-files "." "^paths\\.h$")
|
||||||
|
(("#define[[:blank:]]+_PATH_BSHELL[[:blank:]].*$")
|
||||||
|
(string-append "#define _PATH_BSHELL \""
|
||||||
|
bash "/bin/bash\"\n")))
|
||||||
|
|
||||||
;; Make sure we don't retain a reference to the
|
;; Make sure we don't retain a reference to the
|
||||||
;; bootstrap Perl.
|
;; bootstrap Perl.
|
||||||
(substitute* "malloc/mtrace.pl"
|
(substitute* "malloc/mtrace.pl"
|
||||||
|
|
Loading…
Reference in a new issue