summaryrefslogtreecommitdiff
path: root/script/update/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/update/trees')
-rwxr-xr-xscript/update/trees7
1 files changed, 5 insertions, 2 deletions
diff --git a/script/update/trees b/script/update/trees
index a930bed1..bd0fcb61 100755
--- a/script/update/trees
+++ b/script/update/trees
@@ -37,8 +37,11 @@ main()
[ -z "${_f}" ] && err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)"
[ -z "${project}" ] && err "project name not specified"
- [ -f "config/${project}/build.list" ] && build_targets $@ && return 0
- build_projects $@
+ if [ -f "config/${project}/build.list" ]; then
+ build_targets $@
+ else
+ build_projects $@
+ fi
}
build_projects()