bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15665: [PATCH] build: port shell pattern to Solaris 10


From: Jim Meyering
Subject: bug#15665: [PATCH] build: port shell pattern to Solaris 10
Date: Sun, 20 Oct 2013 16:17:01 -0700

On Sun, Oct 20, 2013 at 4:01 PM, Paul Eggert <address@hidden> wrote:
> * configure.ac: Don't use unquoted '^' in a pattern, as this
> breaks 'configure' on Solaris 10, whose /bin/sh complains about it,
> which causes 'configure' to exit even before it finds a decent shell.
> Unix 7th edition shell accepted '^' as an alias for '|'.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6ce7237..ab7d387 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -43,7 +43,7 @@ fn_grep () {
>    esac
>
>    case $pattern in
> -    [*[].^$\\*[]*]) dnl The outer brackets are for M4.
> +    [*['].^$\*[']*]) dnl The outer brackets are for M4.

Nice one.  Thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]