trees: merge build_targets() with handle_targets()
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
1a95c0cf30
commit
a721e927b0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue