guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/25: gnu: libtool: Don't reference bash by label.


From: guix-commits
Subject: 06/25: gnu: libtool: Don't reference bash by label.
Date: Sat, 23 Jul 2022 13:44:48 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit c84fa7a253b3405f8f29e79ac65546eea2562641
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Jul 17 00:12:35 2022 +0200

    gnu: libtool: Don't reference bash by label.
    
    * gnu/packages/autotools.scm (libtool)[arguments]: Use SEARCH-INPUT-FILE
    instead of label.
---
 gnu/packages/autotools.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index c702be43fa..0357af8850 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -475,10 +475,9 @@ Makefile, simplifying the entire process for the 
developer.")
                         (number->string (parallel-job-count))
                         "1")))
            ;; Patch references to /bin/sh.
-           (let ((bash (assoc-ref (or native-inputs inputs) "bash")))
+           (let ((/bin/sh (search-input-file (or native-inputs inputs) 
"bin/sh")))
              (substitute* "tests/testsuite"
-               (("/bin/sh")
-                (string-append bash "/bin/sh"))))))
+               (("/bin/sh") /bin/sh)))))
          ;; These files may be copied into source trees by libtoolize,
          ;; therefore they must not point to store file names that would be
          ;; leaked with tarballs generated by make dist.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]