summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-06 08:53:29 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-06 08:53:29 +0100
commit48cbb30db1f368229efb57fd78ad92f02e79533d (patch)
tree944119d8b9a133bbd5541d56b58a00c7a4680aad
parent315fed5f48ceed270e29b313f383923cb6344002 (diff)
trees: also print "DONE! check elf/dir" on single
e.g. ./update trees -b flashprog tell the user to check elf/flashprog Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/trees6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/trees b/script/trees
index 212bb665..21f05e5d 100755
--- a/script/trees
+++ b/script/trees
@@ -43,6 +43,9 @@ main()
_cmd="build_projects"
singletree "$project" || _cmd="build_targets"
$_cmd $@
+
+ [ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0
+ [ -z "$mode" ] && printf "\n\nDone! Check %s/\n\n" "$elfdir"; return 0
}
build_projects()
@@ -94,9 +97,6 @@ handle_targets()
[ "$target1" = "utils" ] || x_ ./vendor download $target
x_ handle_defconfig
done
-
- [ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0
- [ -z "$mode" ] && printf "Done! Check %s/\n\n" "$elfdir"; return 0
}
handle_defconfig()