mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 05:00:08 +02:00
download/coreboot: reduce indentation in loop
This commit is contained in:
@@ -87,24 +87,20 @@ download_for_board()
|
|||||||
printf "ERROR: download/coreboot:"
|
printf "ERROR: download/coreboot:"
|
||||||
printf " problem sourcing %s/board.cfg\n" ${_board}
|
printf " problem sourcing %s/board.cfg\n" ${_board}
|
||||||
return 1
|
return 1
|
||||||
fi
|
elif [ "${_board}" != "${cbtree}" ]; then
|
||||||
|
|
||||||
if [ "${_board}" != "${cbtree}" ]; then
|
|
||||||
_board="${cbtree}"
|
_board="${cbtree}"
|
||||||
|
continue
|
||||||
|
elif [ "${cbtree}" = "undefined" ]; then
|
||||||
|
printf "ERROR: download/coreboot:"
|
||||||
|
printf " tree name undefined for '%s\n'" \
|
||||||
|
${_board}
|
||||||
|
return 1
|
||||||
|
elif [ "${cbrevision}" = "undefined" ]; then
|
||||||
|
printf "ERROR: download/coreboot:"
|
||||||
|
printf " commit ID undefined for '%s'\n" \
|
||||||
|
${_board}
|
||||||
|
return 1
|
||||||
else
|
else
|
||||||
if [ "${cbtree}" = "undefined" ]; then
|
|
||||||
printf "ERROR: download/coreboot:"
|
|
||||||
printf " tree name undefined for '%s\n'" \
|
|
||||||
${_board}
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${cbrevision}" = "undefined" ]; then
|
|
||||||
printf "ERROR: download/coreboot:"
|
|
||||||
printf " commit ID undefined for '%s'\n" \
|
|
||||||
${_board}
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user