Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 609FA431FD0 for ; Thu, 2 Dec 2010 08:33:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.408 X-Spam-Level: X-Spam-Status: No, score=0.408 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.207, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rz9PX4l3lbAq for ; Thu, 2 Dec 2010 08:33:05 -0800 (PST) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by olra.theworths.org (Postfix) with ESMTP id A4711431FB5 for ; Thu, 2 Dec 2010 08:33:05 -0800 (PST) Received: by ywa6 with SMTP id 6so5359667ywa.26 for ; Thu, 02 Dec 2010 08:33:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type :content-transfer-encoding; bh=9yqJc/+uNaPxUvVY8eMrn7jkIjth+C+v/bxh7J6Rrp4=; b=iWQ4fuoxL8WknCaTYLmHJOPJSvOWqx3jmgSAKURw9svsoUhaTmskcl3jzsJs1FohGc gULmFUvrnG96WwdJ0L/4Pqv+2c2gx6w981WHip3aUNzsOEXO7PfSJW9BV/Rvr9QsQJa6 niSyH++hSvxoJxeZaEg7mfGefS6Nkhp9C0SFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; b=o5l8Lse91W4w7ChvIzYPgnSzFvu7gsdclOAoy1oWMPBUDnIlLVmRpXnklPxelPDfb5 LbMDfalIeiRgCx9d3wf3FbgZBM1GupGR4aTNRySt5+LHj+35yO/mS26HgVq8qXQRVHOh QiRu5iNupjQ0lVd7kjNk2JrexvISShwOnYkYQ= MIME-Version: 1.0 Received: by 10.223.69.134 with SMTP id z6mr842372fai.19.1291307584605; Thu, 02 Dec 2010 08:33:04 -0800 (PST) Received: by 10.223.89.143 with HTTP; Thu, 2 Dec 2010 08:33:04 -0800 (PST) In-Reply-To: <20101202151325.GI1775@blackspot> References: <1291235272-16335-1-git-send-email-joel.borggren.franck@gmail.com> <20101202151325.GI1775@blackspot> Date: Thu, 2 Dec 2010 17:33:04 +0100 Message-ID: Subject: Re: [PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability From: =?ISO-8859-1?Q?Joel_Borggr=E9n=2DFranck?= Cc: notmuch@notmuchmail.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2010 16:33:06 -0000 On Thu, Dec 2, 2010 at 4:13 PM, Ruben Pollan wrote: > On 21:27, Wed 01 Dec 10, Joel Borggr=E9n-Franck wrote: >> From: Joel Borggr=E9n-Franck >> >> Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way >> systems running on bash < 4 can prepend bash >=3D 4 to path before >> running the tests. > > Is there any reason to use bash? Is the test system dependent to any key = feature > of bash? > > Not every system has bash installed. To have a dependency on bash just fo= r > development I think is not a big issue. But if it don't requires any big = effort > I think will be better to have it more generic. > The test harness explicitly requires bash >=3D 4 . The docs say it needs support for associative arrays. cheers /Joel