tree.sh: simplify build_project()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-27 12:17:06 +01:00
parent aacd46bf81
commit f8444a8795
+1 -3
View File
@@ -74,9 +74,7 @@ build_project()
[ ! -f "$listfile" ] || $dry elfcheck || return 0
[ "$mode" = "distclean" ] && mode="clean"
run_make_command || return 0
[ -n "$mode" ] || $dry copy_elf; :
run_make_command && [ -z "$mode" ] && $dry copy_elf; :
}
build_targets()