mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
build/roms: don't use exit status from skip_board
the printf could potentially return non-zero, which might make the script not skip a given target Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+5
-3
@@ -95,9 +95,11 @@ handle_target()
|
||||
print_target_name && return 0
|
||||
|
||||
# exclude certain targets from the release
|
||||
skip_board && \
|
||||
printf "Skip target %s(%s)\n" "$board" "$status" && \
|
||||
skipped="* $board($status)\n$skipped" && return 0
|
||||
if skip_board; then
|
||||
printf "Skip target %s(%s)\n" "$board" "$status"
|
||||
skipped="* $board($status)\n$skipped"
|
||||
return 0
|
||||
fi
|
||||
|
||||
build_payloads
|
||||
build_target_mainboard
|
||||
|
||||
Reference in New Issue
Block a user