From 3a0ab495b34706f95695c56f7603198b2fb44d99 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 30 Apr 2012 15:09:04 +0300 Subject: [PATCH] Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh --- 94/3fa93df1e0c38637acfef456c64bd470f7fade | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 94/3fa93df1e0c38637acfef456c64bd470f7fade diff --git a/94/3fa93df1e0c38637acfef456c64bd470f7fade b/94/3fa93df1e0c38637acfef456c64bd470f7fade new file mode 100644 index 000000000..57d7494b4 --- /dev/null +++ b/94/3fa93df1e0c38637acfef456c64bd470f7fade @@ -0,0 +1,86 @@ +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 18E27431FAF + for ; Mon, 30 Apr 2012 05:09:12 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 kdwBPCO7nI+0 for ; + Mon, 30 Apr 2012 05:09:11 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id 2E842431FAE + for ; Mon, 30 Apr 2012 05:09:11 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id D9C4768057; Mon, 30 Apr 2012 15:09:04 +0300 (EEST) +From: Tomi Ollila +To: David Bremner , Vladimir.Marek@oracle.com, + notmuch@notmuchmail.org +Subject: Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh +In-Reply-To: <87haw1ph2d.fsf@zancas.localnet> +References: <1333966665-10469-1-git-send-email-Vladimir.Marek@oracle.com> + <1333966665-10469-2-git-send-email-Vladimir.Marek@oracle.com> + <87haw1ph2d.fsf@zancas.localnet> +User-Agent: Notmuch/0.12+144~g85299aa (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Cc: Vladimir Marek +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: Mon, 30 Apr 2012 12:09:12 -0000 + +On Mon, Apr 30 2012, David Bremner wrote: + +> Vladimir.Marek@oracle.com writes: +> +>> diff --git a/configure b/configure +>> index 71981b7..6870341 100755 +>> --- a/configure +>> +++ b/configure +>> @@ -1,4 +1,4 @@ +>> -#! /bin/sh +>> +#! /bin/bash +> +> I realize the true story is more complicated than this, but how do +> people feel about specifying bash for configure until/unless we get a +> nicer solution? + +if /bin/sh is not posix-capable, it is more probable that bash is called +/usr/local/bin/bash than /bin/bash + +I've submitted this + +id:"1334589199-25894-1-git-send-email-tomi.ollila@iki.fi" + +(which, of course, does not check /usr/local/bin/bash ;/) + +There is also alternative, more heuristic approach, mentioned +as option 4 in + +id:"m2wr5mm7gb.fsf@guru.guru-group.fi" + +> d + +Tomi -- 2.26.2