Re: [PATCH 1/2] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <Y/[email protected]>
On Feb 17 13:56, Brian Inglis wrote:
> ---
>  newlib/libc/ctype/mkcaseconv | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/newlib/libc/ctype/mkcaseconv b/newlib/libc/ctype/mkcaseconv
> index ab0571d8fa03..a455aed16ef6 100755
> --- a/newlib/libc/ctype/mkcaseconv
> +++ b/newlib/libc/ctype/mkcaseconv
> @@ -89,7 +89,7 @@ then
>  	diff=-1
>    }
>    item () {
> -	if [ "$1" == "#error" ]
> +	if [ "$1" = "#error" ]
>  	then	echo "$*"
>  		return
>  	fi
> -- 
> 2.39.0

Pushed.

Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.