diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-06 08:53:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-06 08:53:29 +0100 |
commit | 48cbb30db1f368229efb57fd78ad92f02e79533d (patch) | |
tree | 944119d8b9a133bbd5541d56b58a00c7a4680aad /script | |
parent | 315fed5f48ceed270e29b313f383923cb6344002 (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>
Diffstat (limited to 'script')
-rwxr-xr-x | script/trees | 6 |
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() |