From 8e26f78961d937b18d3ec96a4fa026f04075cf0e Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Mon, 9 Apr 2012 14:10:07 +0300 Subject: [PATCH] Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh --- 21/18a58f203ab8c89c7f22ba3e5aca690df0d7f3 | 156 ++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 21/18a58f203ab8c89c7f22ba3e5aca690df0d7f3 diff --git a/21/18a58f203ab8c89c7f22ba3e5aca690df0d7f3 b/21/18a58f203ab8c89c7f22ba3e5aca690df0d7f3 new file mode 100644 index 000000000..a685796d4 --- /dev/null +++ b/21/18a58f203ab8c89c7f22ba3e5aca690df0d7f3 @@ -0,0 +1,156 @@ +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 6A530414B93 + for ; Mon, 9 Apr 2012 04:10:14 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[HTML_MESSAGE=0.001, 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 hbtOrS34-Rqc for ; + Mon, 9 Apr 2012 04:10:08 -0700 (PDT) +Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com + [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 27C5741646B + for ; Mon, 9 Apr 2012 04:10:08 -0700 (PDT) +Received: by pbcuo1 with SMTP id uo1so5658078pbc.26 + for ; Mon, 09 Apr 2012 04:10:07 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type:x-gm-message-state; + bh=bALYwXfRrO7pvf5ksXwlFFG2vKcq2FP3U/LUwVS9tgA=; + b=XtvJV+/cRyyHh1t1bsDtxw+t74l5rscI8Dt49kny2+zAXz8Q9bw8TQb5du3z/xE3d5 + lBKq4w0m2b1uvMD1WQgu9xCqETfBeDlihsEB5t6I6PSjXTC+xZ9pSZVN4V/vdzBWuAaP + aKw3dGXzNc0ozJ8Oc1DrcsK1SIYOS09k9Tq3enui2kTmPRkgz6OS5h4qyZiXppnV/4zf + InzD6smqbb9KOk6A/2Gu4bP+STiB0dJfgl6UHj2bl0z2sunSBfUBjWgWmrQqzGD/KShp + NPDK/1yhJA6i+RSqhWFuUgqPQF9XpsMRLRFI0V9mLCKMdom9v2AewkSYw7TZLKL7+mq3 + gDHw== +MIME-Version: 1.0 +Received: by 10.68.227.73 with SMTP id ry9mr18875670pbc.33.1333969807439; Mon, + 09 Apr 2012 04:10:07 -0700 (PDT) +Received: by 10.68.241.234 with HTTP; Mon, 9 Apr 2012 04:10:07 -0700 (PDT) +Received: by 10.68.241.234 with HTTP; Mon, 9 Apr 2012 04:10:07 -0700 (PDT) +In-Reply-To: <1333966665-10469-2-git-send-email-Vladimir.Marek@oracle.com> +References: <1333966665-10469-1-git-send-email-Vladimir.Marek@oracle.com> + <1333966665-10469-2-git-send-email-Vladimir.Marek@oracle.com> +Date: Mon, 9 Apr 2012 14:10:07 +0300 +Message-ID: + +Subject: Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh +From: Jani Nikula +To: Vladimir.Marek@oracle.com +Content-Type: multipart/alternative; boundary=e89a8ff24c8d83774504bd3d0c28 +X-Gm-Message-State: + ALoCoQkNfdITHLlIK8SQI1rvg8u9xK318vx/7qhqoKfvQwxgQWwBaqNjn66QA8S4n6yb9a1Wj1ia +Cc: Notmuch Mail , 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, 09 Apr 2012 11:10:14 -0000 + +--e89a8ff24c8d83774504bd3d0c28 +Content-Type: text/plain; charset=UTF-8 + +On Apr 9, 2012 1:18 PM, wrote: +> +> From: Vladimir Marek +> +> Posix /bin/sh is not capable of running this configure and fails. + +What fails? What would it take to make this work on posix sh instead? + +The tests do require bash, but generally I think it would be preferable to +not depend on bash to build. + +BR, +Jani. + +> +> Signed-off-by: Vladimir Marek +> --- +> configure | 2 +- +> 1 files changed, 1 insertions(+), 1 deletions(-) +> +> diff --git a/configure b/configure +> index 71981b7..6870341 100755 +> --- a/configure +> +++ b/configure +> @@ -1,4 +1,4 @@ +> -#! /bin/sh +> +#! /bin/bash +> +> # Store original IFS value so it can be changed (and restored) in many +places. +> readonly DEFAULT_IFS=$IFS +> -- +> 1.7.3.2 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch + +--e89a8ff24c8d83774504bd3d0c28 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +


+On Apr 9, 2012 1:18 PM, <Vl= +adimir.Marek@oracle.com> wrote:
+>
+> From: Vladimir Marek <vlmarek@v= +olny.cz>
+>
+> Posix /bin/sh is not capable of running this configure and fails.

+

What fails? What would it take to make this work on posix sh instead? +

The tests do require bash, but generally I think it would be preferable = +to not depend on bash to build.

+

BR,
+Jani.

+

>
+> Signed-off-by: Vladimir Marek <= +vlmarek@volny.cz>
+> ---
+> =C2=A0configure | =C2=A0 =C2=A02 +-
+> =C2=A01 files changed, 1 insertions(+), 1 deletions(-)
+>
+> diff --git a/configure b/configure
+> index 71981b7..6870341 100755
+> --- a/configure
+> +++ b/configure
+> @@ -1,4 +1,4 @@
+> -#! /bin/sh
+> +#! /bin/bash
+>
+> =C2=A0# Store original IFS value so it can be changed (and restored) i= +n many places.
+> =C2=A0readonly DEFAULT_IFS=3D$IFS
+> --
+> 1.7.3.2
+>
+> _______________________________________________
+> notmuch mailing list
+> notmuch@notmuchmail.org= +
+> http://not= +muchmail.org/mailman/listinfo/notmuch
+

+ +--e89a8ff24c8d83774504bd3d0c28-- -- 2.26.2