[PATCH 1/2] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison
Brian Inglis
Brian.Inglis@Shaw.ca
Fri Feb 17 20:56:23 GMT 2023
---
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
More information about the Newlib
mailing list