]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
meta/classes-recipe/toolchain-scripts.bbclass: eliminate bash-ism
authorAlexander Kanavin <alex@linutronix.de>
Tue, 7 Oct 2025 18:21:42 +0000 (20:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Oct 2025 09:27:02 +0000 (10:27 +0100)
commit933686b7c6307778d171967c49b3a7b6645c31c0
tree287e212202ccd6f965aa52c25647dceef7976cad
parentf31903ca484bad68708ec510e25ea33234f5c0ce
meta/classes-recipe/toolchain-scripts.bbclass: eliminate bash-ism

Sourcing a script with arguments is a non-standard bash extension
and doesn't work with other shells (e.g. dash, which is used on
Debian and derivatives). This used to work by coincidence when
running against integrated poky repo without having to separately
specify where bitbake is, but no longer does.

Using set is a POSIX standard.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/toolchain-scripts.bbclass