summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFedor Ross <fedor.ross@ifm.com>2020-11-18 18:13:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:45 +0000
commit0d011819e977fb19027c4dbf91284b64d2ae74e8 (patch)
tree5db294f5d9a8848f2435e545cd81aaeeaca53ab9
parentde9bcf56ebd6206afd325228994f901ce536204e (diff)
downloadpoky-0d011819e977fb19027c4dbf91284b64d2ae74e8.tar.gz
poky-0d011819e977fb19027c4dbf91284b64d2ae74e8.tar.bz2
poky-0d011819e977fb19027c4dbf91284b64d2ae74e8.zip
sysvinit: remove bashism to be compatible with dash
Replace the equality operator '==' with '=' inside of '[]' to be compatible with bash and dash. (From OE-Core rev: b7f0ec6eafb35117eaf4eeef281162080f0ca79a) Signed-off-by: Fedor Ross <fedor.ross@ifm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/rc2
1 files changed, 1 insertions, 1 deletions
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.