[oe-commits] Chong Lu : adt_installer: fix syntax error
git at git.openembedded.org
git at git.openembedded.org
Tue Jul 8 10:21:47 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 656a784a7c43b619d51a47aab926d7c519cc3b4b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=656a784a7c43b619d51a47aab926d7c519cc3b4b
Author: Chong Lu <Chong.Lu at windriver.com>
Date: Fri Jul 4 16:45:14 2014 +0800
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../installer/adt-installer/scripts/adt_installer_internal | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 f9c6d18..6a219a3 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
More information about the Openembedded-commits
mailing list