roms: re-introduce accidentally disabled check

i disabled a check in the script, while testing a prior
modification. re-introoduce the check, which is put there
to yield an error condition if no targets were compiled.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-19 01:29:26 +01:00
parent 3610667e3d
commit 383433d4f6
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ main()
&& targets="$targets, $x"; continue
done
# [ -z "$targets" ] && $err "No ROM images were compiled"
[ -z "$targets" ] && $err "No ROM images were compiled"
printf "Check these ROM directories in bin/: %s\n" "${targets#, }"
printf "DO NOT flash images from elf/ - use bin/ instead. ALSO:\n"
printf "%s\n" "$kbnotice"