aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-07-04 16:45:14 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-08 11:19:50 +0100
commit656a784a7c43b619d51a47aab926d7c519cc3b4b (patch)
tree65032ab1335ea1277d6dc18cccfe2b83f4b75d3c
parent9b7720f4efc578f0673935ab9ad98ad3f392716e (diff)
downloadopenembedded-core-contrib-656a784a7c43b619d51a47aab926d7c519cc3b4b.tar.gz
adt_installer: fix syntax error
We need to check YOCTOADT_QEMU variable whether is equal to "y". So we should use "==" rather than "=". Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index f9c6d18a487..6a219a39290 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -169,7 +169,7 @@ for target_type in $YOCTOADT_TARGETS; do
$SUDO sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_script
done
-if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
+if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" == "y" ]; then
echo_info "\nInstalling qemu native ..."
$OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE
check_result