summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-19 01:29:26 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-19 01:29:26 +0100
commit383433d4f60d7777198b8344bc72c7d1fb876403 (patch)
tree13fa9ab61f0ca16482590af1850d07e5c8455f73 /script/roms
parent3610667e3db08ff1db4f7784ff5a879d8aebce9d (diff)
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>
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/roms b/script/roms
index 865c4909..6fb78745 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"