diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-07 02:55:17 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-07 02:55:17 +0100 |
commit | 0962600c8402665992e7ebfac3cee7a2aad959fd (patch) | |
tree | 44bcf1e9257d49f29784ab72a9498c9db347b493 | |
parent | fa8e204f144ebe318f6173d2570dd90d50dace87 (diff) |
build/fw/coreboot: correctly check built targets
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | script/build/fw/coreboot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot index 481c6fba..db6dd443 100755 --- a/script/build/fw/coreboot +++ b/script/build/fw/coreboot @@ -55,8 +55,8 @@ main() board="${x}" check_target prepare_target - [ -f "bin/${x}" ] || continue - targets="bin/${x}\n${targets}" + [ -d "bin/${board}" ] || continue + targets="bin/${board}, ${targets}" done [ -z ${targets} ] && err "No ROM images were compiled" |