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.
master
Leo Famulari 2017-01-04 19:44:27 -05:00
parent 98341757c8
commit c5862bda95
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 2 additions and 2 deletions

View File

@ -325,11 +325,11 @@ Makefile, simplifying the entire process for the developer.")
(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"