diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-27 16:43:35 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-27 16:43:35 +0100 |
commit | c59fbb3651b18da63e6521fb902567e660a8e8a1 (patch) | |
tree | a0ee206d6be8d5f8e9221dd64b4543440a00a475 /script | |
parent | 902b98d1acc424202107959c43fc23e2e7011a07 (diff) |
trees: simplify single/multi handling in main()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/trees | 3 |
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 |