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>
audit6
Leah Rowe 2024-06-27 16:41:23 +01:00
parent e1e04aa80d
commit 902b98d1ac
1 changed files with 2 additions and 2 deletions

View File

@ -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