diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-07-04 16:45:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-08 11:20:13 +0100 |
commit | f6290450132c21afd72c11c4d3581c5967defb41 (patch) | |
tree | d0dbbc0394b8cce7cdb08f105ef7ae481ea21468 | |
parent | 82999c1c8fa2662653054329100d2ea2f05a695e (diff) | |
download | poky-f6290450132c21afd72c11c4d3581c5967defb41.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 "=".
(From OE-Core rev: 656a784a7c43b619d51a47aab926d7c519cc3b4b)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
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 f9c6d18a48..6a219a3929 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 | |||
169 | $SUDO sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_script | 169 | $SUDO sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_script |
170 | done | 170 | done |
171 | 171 | ||
172 | if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then | 172 | if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" == "y" ]; then |
173 | echo_info "\nInstalling qemu native ..." | 173 | echo_info "\nInstalling qemu native ..." |
174 | $OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE | 174 | $OPKG_INSTALL_NATIVE_CMD nativesdk-qemu &>> $YOCTOADT_INSTALL_LOG_FILE |
175 | check_result | 175 | check_result |