From 98724d701b10a037e8ffa7ce2864a08993268517 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 14 Jun 2024 13:19:25 +0100 Subject: lib.sh: remove the items() function it's pretty much just doing the same thing as ls -1 remove it! Signed-off-by: Leah Rowe --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index 4d9a5d08..f090f539 100755 --- a/script/trees +++ b/script/trees @@ -87,7 +87,7 @@ build_targets() # Build for all targets if no argument is given [ $# -gt 0 ] && target1="$1" [ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && shift 1 - targets="$(items "$cfgsdir")" || $err "Can't get options for $cfgsdir" + targets="$(ls -1 "$cfgsdir")" || $err "Can't get options for $cfgsdir" [ $# -gt 0 ] && targets=$@ handle_targets -- cgit v1.2.1