From faddd02ef5d3c2ac91600e7a8c406c8cdeae3665 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 19 Jun 2024 01:29:26 +0100 Subject: [PATCH] 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 --- script/roms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/roms b/script/roms index b9670d2..a91b1da 100755 --- a/script/roms +++ b/script/roms @@ -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"