trees: simplify single/multi handling in main()

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-27 16:43:35 +01:00 committed by Leah Rowe
parent 7b178f5fad
commit 623ad90ef0
1 changed files with 1 additions and 2 deletions

View File

@ -46,8 +46,7 @@ main()
remkdir "${tmpgit%/*}"
_cmd="build_project"
singletree "$project" || _cmd="build_targets"
_cmd="build_targets" && singletree "$project" && _cmd="build_project"
$_cmd $@
[ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0