mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
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>
This commit is contained in:
+2
-2
@@ -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" ] && \
|
||||
|
||||
Reference in New Issue
Block a user