trees: simplify single/multi handling in main()
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
7b178f5fad
commit
623ad90ef0
|
@ -46,8 +46,7 @@ main()
|
||||||
|
|
||||||
remkdir "${tmpgit%/*}"
|
remkdir "${tmpgit%/*}"
|
||||||
|
|
||||||
_cmd="build_project"
|
_cmd="build_targets" && singletree "$project" && _cmd="build_project"
|
||||||
singletree "$project" || _cmd="build_targets"
|
|
||||||
$_cmd $@
|
$_cmd $@
|
||||||
|
|
||||||
[ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0
|
[ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0
|
||||||
|
|
Loading…
Reference in New Issue