From 48cbb30db1f368229efb57fd78ad92f02e79533d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 6 Jun 2024 08:53:29 +0100 Subject: 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 --- script/trees | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'script/trees') 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() -- cgit v1.2.1