From c59fbb3651b18da63e6521fb902567e660a8e8a1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 27 Jun 2024 16:43:35 +0100 Subject: trees: simplify single/multi handling in main() Signed-off-by: Leah Rowe --- script/trees | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/trees b/script/trees index 97bc03bb..3da74fe9 100755 --- a/script/trees +++ b/script/trees @@ -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 -- cgit v1.2.1