summaryrefslogtreecommitdiff
path: root/script/update/project/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/update/project/trees')
-rwxr-xr-xscript/update/project/trees3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/update/project/trees b/script/update/project/trees
index 084ef1e3..7038cfde 100755
--- a/script/update/project/trees
+++ b/script/update/project/trees
@@ -9,6 +9,7 @@ set -u -e
. "include/err.sh"
. "include/git.sh"
+. "include/option.sh"
_target=""
tree=""
@@ -29,7 +30,7 @@ main()
[ -d "${cfgsdir}" ] || err "unsupported project name"
shift 1
- targets=$(./build command options "${cfgsdir}")
+ targets=$(listitems "${cfgsdir}")
[ $# -gt 0 ] && targets=$@
[ -z "${targets}" ] && \
err "No targets available for project: ${project}"