trees: merge build_targets() with handle_targets()

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-07-10 21:43:13 +01:00 committed by Leah Rowe
parent 1a95c0cf30
commit a721e927b0
1 changed files with 0 additions and 5 deletions

View File

@ -88,11 +88,6 @@ build_targets()
[ $# -gt 0 ] || \ [ $# -gt 0 ] || \
targets="$(ls -1 "$cfgsdir")" || $err "$cfgsdir: Canot get options" targets="$(ls -1 "$cfgsdir")" || $err "$cfgsdir: Canot get options"
handle_targets
}
handle_targets()
{
for x in $targets; do for x in $targets; do
[ "$x" = "list" ] && x_ ls -1 "config/$project" && \ [ "$x" = "list" ] && x_ ls -1 "config/$project" && \
listfile="" && break listfile="" && break