summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-14 13:19:25 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-14 13:19:25 +0100
commit98724d701b10a037e8ffa7ce2864a08993268517 (patch)
treec354f485c3da5681798dad51b6d760358061a029 /script/roms
parentbaea03c67270a8e213f825d833e0c0b1959d34d0 (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/roms')
-rwxr-xr-xscript/roms4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/roms b/script/roms
index 88ab8cd1..3890eddc 100755
--- a/script/roms
+++ b/script/roms
@@ -36,7 +36,7 @@ main()
elif [ "$1" = "serprog" ]; then
shift 1; handle_serprog $@; return 0
elif [ "$1" = "list" ]; then
- x_ items config/coreboot; return 0
+ x_ ls -1 config/coreboot; return 0
else
[ "$1" = "all" ] && shift && continue
boards="$1 $boards"
@@ -44,7 +44,7 @@ main()
fi
done
- [ -n "$boards" ] || boards="$(items config/coreboot)" || \
+ [ -n "$boards" ] || boards="$(ls -1 config/coreboot)" || \
$err "Cannot generate list of boards for building"
for x in $boards; do
[ -d "config/coreboot/$x/config" ] && \