From c84fa7a253b3405f8f29e79ac65546eea2562641 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 17 Jul 2022 00:12:35 +0200 Subject: 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(-) (limited to 'gnu') 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 @@ (define-public libtool (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. -- cgit v1.2.3