From c5862bda95e3171c1addf6ff198a953bcda785b4 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 4 Jan 2017 19:44:27 -0500 Subject: 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. --- gnu/packages/autotools.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/autotools.scm') diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm index 83018ca8ff..8ff7b8cf6d 100644 --- a/gnu/packages/autotools.scm +++ b/gnu/packages/autotools.scm @@ -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" -- cgit v1.2.3