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>
20240612_branch
Leah Rowe 2024-05-05 05:18:12 +01:00
parent 2fcbff68fc
commit 580a555948
1 changed files with 5 additions and 3 deletions

View File

@ -95,9 +95,11 @@ handle_target()
print_target_name && return 0 print_target_name && return 0
# exclude certain targets from the release # exclude certain targets from the release
skip_board && \ if skip_board; then
printf "Skip target %s(%s)\n" "$board" "$status" && \ printf "Skip target %s(%s)\n" "$board" "$status"
skipped="* $board($status)\n$skipped" && return 0 skipped="* $board($status)\n$skipped"
return 0
fi
build_payloads build_payloads
build_target_mainboard build_target_mainboard