summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-07 05:29:44 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-07 05:30:17 +0100
commit0fad3497b82d9225468835d1b27717050ca6de46 (patch)
tree25f0af11e3ebf827e4a002f1cfce0dd70981b93c /script
parentea27c928422261dab85b673f4eb497ec02e486e9 (diff)
build/fw/coreboot: fix error "unexpected operator"
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/fw/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot
index 323fc40d..d0357c59 100755
--- a/script/build/fw/coreboot
+++ b/script/build/fw/coreboot
@@ -58,7 +58,7 @@ main()
targets="* bin/${board}\n${targets}"
done
- [ -z ${targets} ] && err "No ROM images were compiled"
+ [ -z "${targets}" ] && err "No ROM images were compiled"
printf "\nROM images available in these directories:\n"
printf "${targets}^^ ROM images available in these directories.\n\n"
}