mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:36:23 +02:00
build/roms: reduce indentation in skip_board()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+5
-5
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user