mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 10:12:04 +02:00
trees: merge build_targets() with handle_targets()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user