]> code.ossystems Code Review - openembedded-core.git/commit
layer.conf: fix syntax error in PATH setting
authorMatt Madison <matt@madison.systems>
Thu, 12 Nov 2020 14:51:41 +0000 (06:51 -0800)
committerSteve Sakoman <steve@sakoman.com>
Fri, 3 Sep 2021 14:05:12 +0000 (04:05 -1000)
commitb46b059a306b2823624e64adecded9f76430471a
tree9e71d8d91646a4d13352b511089ca7e2d1d60784
parent9224b01eaa46986b1c363a541e88f20387d8c30b
layer.conf: fix syntax error in PATH setting

Commit 05a87be51b44608ce4f77ac332df90a3cd2445ef introduced
a Python conditional expression when updating PATH that
generates syntax warnings in bitbake-cookerdaemon.log:

  Var <PATH[:=]>:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?

Fix this by using the more appropriate '!=' comparison
operator.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e753a12cf6bb98f9e0940e5ed6255ce8c538eed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/conf/layer.conf