diff --git a/packages/bsp/common/usr/sbin/armbian-install b/packages/bsp/common/usr/sbin/armbian-install index b43f78bf21..94194c6c97 100755 --- a/packages/bsp/common/usr/sbin/armbian-install +++ b/packages/bsp/common/usr/sbin/armbian-install @@ -857,12 +857,12 @@ main() options+=(5 "Install/Update the bootloader on $rootchip (${root_partition_device})") fi - if [ -n ${emmc_dev} ] && [ "${emmc_dev}" != "${root_partition_device}" ]; then + if [ -n "${emmc_dev}" ] && [ "${emmc_dev}" != "${root_partition_device}" ]; then options+=(6 "Install/Update the bootloader on eMMC (${emmc_dev})") BOOTPART=${emmc_dev} - elif [ -n ${sd_dev} ] && [ "${sd_dev}" != "${root_partition_device}" ]; then + elif [ -n "${sd_dev}" ] && [ "${sd_dev}" != "${root_partition_device}" ]; then options+=(6 "Install/Update the bootloader on SD card (${sd_dev})") BOOTPART=${sd_dev}