diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2022-06-07 22:52:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-08 21:55:56 +0100 |
commit | eadc2ba4cd999cd303d842d14d7597245955e6c7 (patch) | |
tree | 9dfa157b4816e26de8d7d145fb3c01679c2877f5 /meta | |
parent | ce592bc9ac9c503176699b96ae4340f1b9b9bedc (diff) | |
download | poky-eadc2ba4cd999cd303d842d14d7597245955e6c7.tar.gz |
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: 9852bedcb9eb8306a3f82f805ec4f76abbbbdd0f)
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/buildhistory.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 8db79a4829..4345ffc693 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -508,7 +508,7 @@ buildhistory_get_installed() { | |||
508 | 508 | ||
509 | # Set correct pkgdatadir | 509 | # Set correct pkgdatadir |
510 | pkgdatadir=${PKGDATA_DIR} | 510 | pkgdatadir=${PKGDATA_DIR} |
511 | if [ "$2" == "sdk" ] && [ "$3" == "host" ]; then | 511 | if [ "$2" = "sdk" ] && [ "$3" = "host" ] ; then |
512 | pkgdatadir="${PKGDATA_DIR_SDK}" | 512 | pkgdatadir="${PKGDATA_DIR_SDK}" |
513 | fi | 513 | fi |
514 | 514 | ||