diff --git a/projects/Rockchip/bootloader/update.sh b/projects/Rockchip/bootloader/update.sh index 620b84fa71..3ac121e3c9 100644 --- a/projects/Rockchip/bootloader/update.sh +++ b/projects/Rockchip/bootloader/update.sh @@ -51,7 +51,7 @@ fi cp -p ${SYSTEM_ROOT}/usr/share/bootloader/${dtb} ${BOOT_ROOT} echo "done" elif [ "$(grep -c "FDT /${dtb}" ${BOOT_ROOT}/extlinux/extlinux.conf)" -ne 0 ]; then - non_existend_dtb="${dtb}" + non_existent_dtb="${dtb}" fi fi done @@ -68,8 +68,8 @@ fi mount -o remount,ro ${BOOT_ROOT} # warning if device tree was not updated - if [ -n "${non_existend_dtb}" ]; then - echo "The device tree ${non_existend_dtb} your installation uses does not exist in this update package." + if [ -n "${non_existent_dtb}" ]; then + echo "The device tree ${non_existent_dtb} your installation uses does not exist in this update package." echo "The updated system will continue to use the device tree from the previous system and your installation might be broken." echo "Please check documentation to find out which boards are supported by this package." sleep 10