mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
1 changed files with 2 additions and 2 deletions
|
@ -325,11 +325,11 @@ (define-public libtool
|
|||
(string-append
|
||||
"-j"
|
||||
(number->string (parallel-job-count))))
|
||||
;; Path references to /bin/sh.
|
||||
;; Patch references to /bin/sh.
|
||||
(let ((bash (assoc-ref inputs "bash")))
|
||||
(substitute* "tests/testsuite"
|
||||
(("/bin/sh")
|
||||
(string-append bash "/bin/bash")))))))))
|
||||
(string-append bash "/bin/sh"))))))
|
||||
(add-after 'patch-source-shebangs 'restore-ltmain-shebang
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "build-aux/ltmain.in"
|
||||
|
|
Loading…
Reference in a new issue