diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-14 13:19:25 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-14 13:19:25 +0100 |
commit | 98724d701b10a037e8ffa7ce2864a08993268517 (patch) | |
tree | c354f485c3da5681798dad51b6d760358061a029 /script/trees | |
parent | baea03c67270a8e213f825d833e0c0b1959d34d0 (diff) |
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 <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-x | script/trees | 2 |
1 files changed, 1 insertions, 1 deletions
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 |