From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 2/2] gnu: libtool: Restore ltmain.sh shebang. Date: Sun, 1 Jan 2017 15:24:28 +0000 Message-ID: <20170101152428.27552-2-ng0@libertad.pw> References: <20170101144525.10710-1-ng0@libertad.pw> <20170101152428.27552-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNi0A-0007NJ-4Q for guix-devel@gnu.org; Sun, 01 Jan 2017 10:24:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNi06-00060v-6J for guix-devel@gnu.org; Sun, 01 Jan 2017 10:24:50 -0500 Received: from aibo.runbox.com ([91.220.196.211]:36076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNi05-0005zs-Ur for guix-devel@gnu.org; Sun, 01 Jan 2017 10:24:46 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cNi04-0000cw-QR for guix-devel@gnu.org; Sun, 01 Jan 2017 16:24:44 +0100 In-Reply-To: <20170101152428.27552-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This fixes * gnu/packages/autotools.scm (libtool): Restore ltmain.sh shebang. [arguments]: Add new phase 'restory-ltmain-shebang'. --- gnu/packages/autotools.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm index 1c9e062d6..217517ade 100644 --- a/gnu/packages/autotools.scm +++ b/gnu/packages/autotools.scm @@ -330,7 +330,12 @@ Makefile, simplifying the entire process for the developer.") (let ((bash (assoc-ref inputs "bash"))) (substitute* "tests/testsuite" (("/bin/sh") - (string-append bash "/bin/bash"))))))))) + (string-append bash "/bin/bash")))))) + (add-after 'patch-source-shebangs 'restore-ltmain-shebang + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "build-aux/ltmain.in" + (((string-append (assoc-ref inputs "bash") "/bin/sh")) + "/bin/sh"))))))) (synopsis "Generic shared library support tools") (description -- 2.11.0