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 <hector.palacios@digi.com>
This commit is contained in:
parent
ec0341358a
commit
6b17713b10
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue