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
|
@ -553,6 +553,13 @@ store.")
|
||||||
(("/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 New Issue