mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 14:21:27 +00:00
Fixed detection for u-boot build errors
This commit is contained in:
parent
e23b37121e
commit
515e2877ca
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue