public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: newlib@sourceware.org
Subject: [PATCH 1/2] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison
Date: Fri, 17 Feb 2023 13:56:23 -0700	[thread overview]
Message-ID: <24e9a91bbdec91f63440bd2ab5c4d47a9ff73166.1676518063.git.Brian.Inglis@Shaw.ca> (raw)
In-Reply-To: <20230217205625.7454-1-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


  reply	other threads:[~2023-02-17 21:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 20:56 [PATCH 0/2] newlib/libc/{ctype,string}/: script fix and Unicode 15 update Brian Inglis
2023-02-17 20:56 ` Brian Inglis [this message]
2023-02-20  9:47   ` [PATCH 1/2] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison Corinna Vinschen
2023-02-17 20:56 ` [PATCH 2/2] newlib/libc/{ctype,string}/*.t: Unicode 15 character width and property tables Brian Inglis
2023-02-20 10:24   ` [PATCH 2/2] newlib/libc/{ctype, string}/*.t: " Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24e9a91bbdec91f63440bd2ab5c4d47a9ff73166.1676518063.git.Brian.Inglis@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).