trees: merge build_targets() with handle_targets()

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-07-10 21:43:13 +01:00
parent c0a4df688c
commit 17f3e61a0e
-5
View File
@@ -88,11 +88,6 @@ build_targets()
[ $# -gt 0 ] || \
targets="$(ls -1 "$cfgsdir")" || $err "$cfgsdir: Canot get options"
handle_targets
}
handle_targets()
{
for x in $targets; do
[ "$x" = "list" ] && x_ ls -1 "config/$project" && \
listfile="" && break