summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/trees3
1 files changed, 1 insertions, 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