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

Brian Inglis <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <24e9a91bbdec91f63440bd2ab5c4d47a9ff73166.1676518063.git.Brian.Inglis@Shaw.ca>
---
 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
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.