build/roms: reduce indentation in skip_board()
Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
91927760db
commit
0e2c56be41
|
@ -168,11 +168,12 @@ skip_board()
|
||||||
printf "WARNING: %s not stable (status=%s):\n\n" \
|
printf "WARNING: %s not stable (status=%s):\n\n" \
|
||||||
"$board" "$status"
|
"$board" "$status"
|
||||||
|
|
||||||
[ "$release" = "n" ] && [ "$lbmk_release" = "y" ] && \
|
[ "$lbmk_release" = "y" ] && [ "$release" = "n" ] && return 0
|
||||||
return 0
|
[ "$lbmk_release" = "y" ] && [ "$status" = "broken" ] && return 0
|
||||||
|
|
||||||
|
[ "$lbmk_status" = "y" ] || return 1
|
||||||
|
[ "$status" = "stable" ] && return 1
|
||||||
|
|
||||||
if [ "$lbmk_release" != "y" ] && [ "$status" != "stable" ] && \
|
|
||||||
[ "$lbmk_status" = "y" ]; then
|
|
||||||
if [ -f "$targetdir/warn.txt" ]; then
|
if [ -f "$targetdir/warn.txt" ]; then
|
||||||
printf "Regarding board '%s' (status '%s'):\n" \
|
printf "Regarding board '%s' (status '%s'):\n" \
|
||||||
"$board" "$status"
|
"$board" "$status"
|
||||||
|
@ -188,7 +189,6 @@ skip_board()
|
||||||
[ "$skip" = "y" ] && return 0
|
[ "$skip" = "y" ] && return 0
|
||||||
[ "$skip" = "n" ] && return 1; continue
|
[ "$skip" = "n" ] && return 1; continue
|
||||||
done
|
done
|
||||||
fi; return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build_payloads()
|
build_payloads()
|
||||||
|
|
Loading…
Reference in New Issue