diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-05 15:51:04 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 15:51:04 +0100 |
commit | c2182d821939a7d3c3e8ff2b6ff96e9e44ff96fa (patch) | |
tree | 1637c3996a7134d9fbe6495643ca6fe5106dfffb | |
parent | 437ac2454c1a6a77c40894379f5073b4412d0c8d (diff) |
mk: simplify elfcheck()
fe_() called inside subshell, ftw
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | mk | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -370,10 +370,8 @@ check_defconfig() elfcheck() { - # TODO: very hacky check. do it properly (based on build.list) - for elftest in "$dest_dir"/*; do - [ -e "$elftest" ] && e "$elftest" f && return 1 - done; : + # TODO: *STILL* very hacky check. do it properly (based on build.list) + ( fe_ "exit 1" "$dest_dir" -type f ) || return 1; : } handle_makefile() |