Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh

Subject: Re: [PATCH 1/4] Make configure use /bin/bash instead of /bin/sh

Date: Mon, 9 Apr 2012 14:10:07 +0300

To: Vladimir.Marek@oracle.com

Cc: Notmuch Mail, Vladimir Marek

From: Jani Nikula


On Apr 9, 2012 1:18 PM, <Vladimir.Marek@oracle.com> wrote:
>
> From: Vladimir Marek <vlmarek@volny.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>
> ---
>  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

Thread: