mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 16:35:07 +00:00
buildhistory.bbclass: fix shell syntax when using dash
* fix:
run.buildhistory_get_image_installed.791888: 198: [: unexpected operator
introduced in:
commit 82e6172c1df378dff4e503aa878501c08937b5bb
Author: Andres Beltran <abeltran@linux.microsoft.com>
Date: Tue Oct 5 00:34:15 2021 +0000
buildhistory: Fix package output files for SDKs
(From OE-Core rev: 9478e53995cbb25744b5ffd45e38f0abd53adba0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9852bedcb9eb8306a3f82f805ec4f76abbbbdd0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ccd816b865
commit
70fabbb2d0
@ -508,7 +508,7 @@ buildhistory_get_installed() {
|
||||
|
||||
# Set correct pkgdatadir
|
||||
pkgdatadir=${PKGDATA_DIR}
|
||||
if [ "$2" == "sdk" ] && [ "$3" == "host" ]; then
|
||||
if [ "$2" = "sdk" ] && [ "$3" = "host" ] ; then
|
||||
pkgdatadir="${PKGDATA_DIR_SDK}"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user