From 809120b991603b8c557be7481be2bbae29bd8a7f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 4 Jan 2017 19:44:27 -0500 Subject: [PATCH 3/3] 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(-) diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm index 217517ade..926767855 100644 --- a/gnu/packages/autotools.scm +++ b/gnu/packages/autotools.scm @@ -326,11 +326,11 @@ Makefile, simplifying the entire process for the developer.") "-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" -- 2.11.0