public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin/main] newlib/libc/ctype/mkcaseconv: fix POSIX shell invalid == comparison
Date: Mon, 20 Feb 2023 09:47:22 +0000 (GMT)	[thread overview]
Message-ID: <20230220094722.71F2F3858024@sourceware.org> (raw)

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

                 reply	other threads:[~2023-02-20  9:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230220094722.71F2F3858024@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=newlib-cvs@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).