gnu: libtool: Don't replace 'sh' reference with 'bash'.
Bash behaves differently based on how it is invoked (see Invocation in bash(1)). * gnu/packages/autotools.scm (libtool)[arguments]: Use /bin/sh instead of /bin/bash in 'pre-check' phase. Fix typo in comment.
This commit is contained in:
parent
98341757c8
commit
c5862bda95
|
@ -325,11 +325,11 @@ Makefile, simplifying the entire process for the developer.")
|
||||||
(string-append
|
(string-append
|
||||||
"-j"
|
"-j"
|
||||||
(number->string (parallel-job-count))))
|
(number->string (parallel-job-count))))
|
||||||
;; Path references to /bin/sh.
|
;; Patch references to /bin/sh.
|
||||||
(let ((bash (assoc-ref inputs "bash")))
|
(let ((bash (assoc-ref inputs "bash")))
|
||||||
(substitute* "tests/testsuite"
|
(substitute* "tests/testsuite"
|
||||||
(("/bin/sh")
|
(("/bin/sh")
|
||||||
(string-append bash "/bin/bash")))))))))
|
(string-append bash "/bin/sh"))))))
|
||||||
(add-after 'patch-source-shebangs 'restore-ltmain-shebang
|
(add-after 'patch-source-shebangs 'restore-ltmain-shebang
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "build-aux/ltmain.in"
|
(substitute* "build-aux/ltmain.in"
|
||||||
|
|
Loading…
Reference in New Issue