build/cbutils: 79 chars or less per line

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-05-20 16:13:02 +01:00
parent 691f266441
commit 9f58d4e481
+4 -2
View File
@@ -31,7 +31,8 @@ buildutils() {
./download coreboot $cbtree || return 1 ./download coreboot $cbtree || return 1
fi fi
if [ ! -d "coreboot/${cbtree}/" ]; then if [ ! -d "coreboot/${cbtree}/" ]; then
printf "build/cbutils: coreboot/%s not found. Exiting\n" "${cbtree}" printf "build/cbutils: coreboot/%s not found. Exiting\n" \
"${cbtree}"
return 1 return 1
fi fi
for util in cbfstool ifdtool; do for util in cbfstool ifdtool; do
@@ -54,7 +55,8 @@ buildfromboardconfig() {
cbtree="undefined" cbtree="undefined"
. "resources/coreboot/${board}/board.cfg" # source . "resources/coreboot/${board}/board.cfg" # source
if [ "${cbtree}" = "undefined" ]; then if [ "${cbtree}" = "undefined" ]; then
printf "build/cbutils: improper cbtree definition for '%s'" "${board}" printf "build/cbutils: improper cbtree definition for '%s'" \
"${board}"
return 1 return 1
fi fi
buildutils "${cbtree}" || return 1 buildutils "${cbtree}" || return 1