Fixed detection for u-boot build errors

This commit is contained in:
zador-blood-stained 2016-02-15 13:53:35 +03:00
parent e23b37121e
commit 515e2877ca

View file

@ -143,7 +143,7 @@ END
FILESIZE=$(wc -c $DEST/debs/$CHOOSEN_UBOOT | cut -f 1 -d ' ')
if [ $FILESIZE -lt 50000 ]; then
if [[ $FILESIZE -lt 50000 ]]; then
display_alert "Building failed, check configuration." "$CHOOSEN_UBOOT deleted" "err"
rm $DEST/debs/$CHOOSEN_UBOOT
exit