From 6b17713b104f778156ac21f2ac044eae82c8915e Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Tue, 15 Jun 2021 11:53:03 +0200 Subject: [PATCH] u-boot: ccimx6sbc: fix script test of temp variable install_abort is a temp variable so 'test -n' doesn't work on it. This was fixed in all scripts except the USB script of ccimx6sbc. Signed-off-by: Hector Palacios --- .../u-boot/u-boot-dey/ccimx6sbc/install_linux_fw_usb.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6sbc/install_linux_fw_usb.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6sbc/install_linux_fw_usb.txt index 9ef4d3038..5e2614777 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6sbc/install_linux_fw_usb.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6sbc/install_linux_fw_usb.txt @@ -73,7 +73,7 @@ for install_f in ${INSTALL_UBOOT_FILENAME} ${INSTALL_LINUX_FILENAME} ${INSTALL_R install_abort=1; fi; done -if test -n "${install_abort}"; then +if test "${install_abort}" = "1"; then echo "Aborted."; exit; fi