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:
Ludovic Courtès 2015-08-30 14:20:08 +02:00
parent 57f65bcc9c
commit d56f8d5e74
1 changed files with 7 additions and 0 deletions

View File

@ -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"