[oe-commits] [openembedded-core] 11/15: buildtools-tarball.bb: fix unexpected operator
git at git.openembedded.org
git at git.openembedded.org
Mon Apr 18 15:28:58 UTC 2016
rpurdie pushed a commit to branch krogoth
in repository openembedded-core.
commit 528388c3cef027d436fc794c73d57a247521c238
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Sun Apr 17 19:57:07 2016 -0700
buildtools-tarball.bb: fix unexpected operator
Fixed:
run.create_sdk_files.45747: 131: [: =: unexpected operator
The SDKMACHINE is not set by default.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/meta/buildtools-tarball.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 7186ac4..d39bd9a 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -58,7 +58,7 @@ create_sdk_files_append () {
echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script
- if [ ${SDKMACHINE} = "i686" ]; then
+ if [ "${SDKMACHINE}" = "i686" ]; then
echo 'export NO32LIBS="0"' >>$script
echo 'echo "$BB_ENV_EXTRAWHITE" | grep -q "NO32LIBS"' >>$script
echo '[ $? != 0 ] && export BB_ENV_EXTRAWHITE="NO32LIBS $BB_ENV_EXTRAWHITE"' >>$script
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list