diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-27 21:46:20 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-27 22:31:24 +0100 |
commit | 74c48a881df378a83e261c2785012609d81d801e (patch) | |
tree | 52dcd41154762a823bf1d5d06c7a788536aea874 /script/update/project/trees | |
parent | a00b43375a7d4a33b6569c0b6ccb9e9291877bb5 (diff) |
move build/command/options to include/option.sh
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/project/trees')
-rwxr-xr-x | script/update/project/trees | 3 |
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}" |