diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-27 14:05:19 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-27 14:05:19 +0100 |
commit | 144b3c93a4d84d3095e1e0def1464025fff27976 (patch) | |
tree | 307d4655340781c659a6f8b515e1839a296eb9e1 /script | |
parent | 7b8c2bd412f84c691e42f8d341184d17726ed02a (diff) |
trees: condense elfcheck() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/trees | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/script/trees b/script/trees index a3e33f13..13c818ab 100755 --- a/script/trees +++ b/script/trees @@ -207,9 +207,8 @@ 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 + [ -e "$elftest" ] && e "$elftest" f && return 1 + done; return 0 } handle_makefile() |