From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: [PATCH] Add tcsh. Date: Wed, 06 Feb 2013 02:38:20 +0100 Message-ID: <5111B40C.10406@gmail.com> References: <1360013226-16132-1-git-send-email-tipecaml@gmail.com> <87txprogl4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2uEd-0007Ru-3e for bug-guix@gnu.org; Tue, 05 Feb 2013 20:55:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2uEa-00012z-Ee for bug-guix@gnu.org; Tue, 05 Feb 2013 20:55:39 -0500 In-Reply-To: <87txprogl4.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: bug-guix@gnu.org On 02/04/2013 11:32 PM, Ludovic Courtès wrote: > Cyril Roelandt skribis: > [...] >> + ;; The .at files create shell scripts without shebangs. Erk. >> + (substitute* "tests/commands.at" >> + (("./output.sh") >> + (string-append (which "bash") " output.sh"))) > > (which "sh") may be more correct (Bash behaves differently depending no > whether it’s invoked as sh or bash.) > When using (which "sh"), 2 tests fail with the following error: /nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh: Command not found Any idea ? Cyril.