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
parent
e1e04aa80d
commit
902b98d1ac
|
@ -46,7 +46,7 @@ main()
|
||||||
|
|
||||||
remkdir "${tmpgit%/*}"
|
remkdir "${tmpgit%/*}"
|
||||||
|
|
||||||
_cmd="build_projects"
|
_cmd="build_project"
|
||||||
singletree "$project" || _cmd="build_targets"
|
singletree "$project" || _cmd="build_targets"
|
||||||
$_cmd $@
|
$_cmd $@
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ main()
|
||||||
[ -z "$mode" ] && printf "\n\nOK! Check %s/\n\n" "$elfdir"; return 0
|
[ -z "$mode" ] && printf "\n\nOK! Check %s/\n\n" "$elfdir"; return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
build_projects()
|
build_project()
|
||||||
{
|
{
|
||||||
if [ "$mode" = "fetch" ]; then
|
if [ "$mode" = "fetch" ]; then
|
||||||
[ -f "CHANGELOG" ] && return 0
|
[ -f "CHANGELOG" ] && return 0
|
||||||
|
|
Loading…
Reference in New Issue