From: fedor.ross@ifm.com
To: <openembedded-core@lists.openembedded.org>
Cc: Fedor Ross <fedor.ross@ifm.com>
Subject: [PATCH 2/2] sysvinit: remove bashism to be compatible with dash
Date: Wed, 18 Nov 2020 18:13:14 +0100 [thread overview]
Message-ID: <20201118171314.5543-2-fedor.ross@ifm.com> (raw)
In-Reply-To: <20201118171314.5543-1-fedor.ross@ifm.com>
From: Fedor Ross <fedor.ross@ifm.com>
Replace the equality operator '==' with '=' inside of '[]' to be
compatible with bash and dash.
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
---
meta/recipes-core/sysvinit/sysvinit/rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index fd1fdd26ba..d0d3149821 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -63,7 +63,7 @@ startup() {
stty onlcr 0>&1
# Limit stack size for startup scripts
- [ "$STACK_SIZE" == "" ] || ulimit -S -s $STACK_SIZE
+ [ "$STACK_SIZE" = "" ] || ulimit -S -s $STACK_SIZE
# Now find out what the current and what the previous runlevel are.
--
2.20.1
prev parent reply other threads:[~2020-11-18 17:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 17:13 [PATCH 1/2] eudev: remove bashism to be compatible with dash fedor.ross
2020-11-18 17:13 ` fedor.ross [this message]
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=20201118171314.5543-2-fedor.ross@ifm.com \
--to=fedor.ross@ifm.com \
--cc=openembedded-core@lists.openembedded.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