public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison
@ 2023-02-20  9:47 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-02-20  9:47 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8cf9b4aaafb449cc8254a1e1bf5216bfe241641f

commit 8cf9b4aaafb449cc8254a1e1bf5216bfe241641f
Author:     Brian Inglis <Brian.Inglis@Shaw.ca>
AuthorDate: Fri Feb 17 13:56:23 2023 -0700
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Feb 20 10:46:54 2023 +0100

    newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison

Diff:
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-20  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20  9:47 [newlib-cygwin/main] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).