summaryrefslogtreecommitdiff
path: root/meta/classes/image-mklibs.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 12:50:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 22:26:20 +0000
commit4a85312568a6bb052cc511c15b4ae842ff7f8e59 (patch)
treeceef6136a63d15f8342bf38f62ff36643bfbea50 /meta/classes/image-mklibs.bbclass
parentc3400040fdce8c049b51a8acb06eb2e92f9426d1 (diff)
downloadopenembedded-core-4a85312568a6bb052cc511c15b4ae842ff7f8e59.tar.gz
openembedded-core-4a85312568a6bb052cc511c15b4ae842ff7f8e59.tar.bz2
openembedded-core-4a85312568a6bb052cc511c15b4ae842ff7f8e59.tar.xz
openembedded-core-4a85312568a6bb052cc511c15b4ae842ff7f8e59.zip
image-mklibs/package_ipk: Remove bashisms
We now support using dash but these bashisms triggered build failures for me when using it. This replaces the code with something which works on dash. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-mklibs.bbclass')
-rw-r--r--meta/classes/image-mklibs.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass
index 69dac2f56..762381520 100644
--- a/meta/classes/image-mklibs.bbclass
+++ b/meta/classes/image-mklibs.bbclass
@@ -60,7 +60,7 @@ mklibs_optimize_image_doit() {
mklibs_optimize_image() {
for img in ${MKLIBS_OPTIMIZED_IMAGES}
do
- if [ "${img}" == "${PN}" ] || [ "${img}" == "all" ]
+ if [ "${img}" = "${PN}" ] || [ "${img}" = "all" ]
then
mklibs_optimize_image_doit
break