mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
trees: fix build issue caused by bad elf check
we're not checking for bad elfs, but the check itself was bad due to a quirk in how sh works. really, really obscure bug. fixed now! if the given directory didn't actually exist, or there were no files in it, it'd be searching for the file named "*" which is obviously wrong Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -204,6 +204,7 @@ elfcheck()
|
||||
{
|
||||
# TODO: very hacky check. do it properly (based on build.list)
|
||||
for elftest in "$dest_dir"/*; do
|
||||
[ -e "$elftest" ] || continue
|
||||
e "$elftest" f && return 1
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user