summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 16:41:23 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 16:41:23 +0100
commit902b98d1acc424202107959c43fc23e2e7011a07 (patch)
treeec660bd16429850b32d09f9ac6a69fda0a2db526 /script
parente1e04aa80d2f80ef9e79fbe499c8a03f351943d4 (diff)
trees: rename build_projects to build_project
the script used to support building multiple single-tree projects, but this behaviour was buggy and unused, so it was removed. rename the build_projects variable accordingly. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/trees b/script/trees
index 50171608..97bc03bb 100755
--- a/script/trees
+++ b/script/trees
@@ -46,7 +46,7 @@ main()
remkdir "${tmpgit%/*}"
- _cmd="build_projects"
+ _cmd="build_project"
singletree "$project" || _cmd="build_targets"
$_cmd $@
@@ -56,7 +56,7 @@ main()
[ -z "$mode" ] && printf "\n\nOK! Check %s/\n\n" "$elfdir"; return 0
}
-build_projects()
+build_project()
{
if [ "$mode" = "fetch" ]; then
[ -f "CHANGELOG" ] && return 0