]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc-runtime: remove bashism
authorPeter Marko <peter.marko@siemens.com>
Tue, 1 Aug 2023 06:18:49 +0000 (08:18 +0200)
committerSteve Sakoman <steve@sakoman.com>
Thu, 5 Oct 2023 14:43:37 +0000 (04:43 -1000)
commitf842d8a9dc2d785e75981ce009e68227796135be
tree91147ebdada34092bd5739fa4fabb3c400b569d1
parentfdabb7a54bb994d3680c410c8a46eed30e23ec47
gcc-runtime: remove bashism

Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.

Shell comparison via == gives an error with dash and thus the condition
is always false.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3723b26f82219ff71823335d550dbf29086d63d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/gcc/gcc-runtime.inc