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>audit2-merge1
parent
0ada63b629
commit
1c84d0fc9d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue