[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: libtool: Don't replace 'sh' reference with 'bash'.
From: |
Leo Famulari |
Subject: |
03/03: gnu: libtool: Don't replace 'sh' reference with 'bash'. |
Date: |
Thu, 5 Jan 2017 15:43:37 +0000 (UTC) |
lfam pushed a commit to branch core-updates
in repository guix.
commit c5862bda95e3171c1addf6ff198a953bcda785b4
Author: Leo Famulari <address@hidden>
Date: Wed Jan 4 19:44:27 2017 -0500
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 83018ca..8ff7b8c 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -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"