]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes: image_types: quote variable assignment needed by dash
authorMartin Hundeb?ll <martin@geanix.com>
Mon, 27 May 2024 12:40:57 +0000 (14:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2024 08:04:11 +0000 (09:04 +0100)
commit14ca134f9f72d518c9180156a8efac19f8bb3ab0
tree56aca6972e0b0765ed77964c2e360ce5ef01e81d
parent9a424fbcdc0c792ff3b99bf0e8a5e380582f53bc
classes: image_types: quote variable assignment needed by dash

The change in commit 39fc503036
("classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()")
assigns $@ to a local variable without quoting it. While this works with
bash, it fails with dash. Here, only the first token of $@ is assigned
to the variable, and the reamining tokens are passed as arguments to the
"local" keyword.

Fix it by adding the missing quotes.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/image_types.bbclass