From 8cf9b4aaafb449cc8254a1e1bf5216bfe241641f Mon Sep 17 00:00:00 2001 From: Brian Inglis Date: Fri, 17 Feb 2023 13:56:23 -0700 Subject: [PATCH] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison --- 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 ab0571d8f..a455aed16 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