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

Corinna Vinschen vinschen@redhat.com
Mon Feb 20 09:47:25 GMT 2023


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



More information about the Newlib mailing list