build/roms: allow searching status by mismatch
for example: ./build roms list stable this lists all images that are marked "stable" now: ./build roms list _stable this lists all images that are *not* marked stable this will help me keep track during development Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
97d502ccc8
commit
5cecd9e394
|
@ -74,8 +74,16 @@ main()
|
||||||
if [ "$listboards" = "y" ]; then
|
if [ "$listboards" = "y" ]; then
|
||||||
[ -z "$list_type" ] && printf "%s\n" "$board"
|
[ -z "$list_type" ] && printf "%s\n" "$board"
|
||||||
for _list_type in $list_type; do
|
for _list_type in $list_type; do
|
||||||
[ "$status" != "$_list_type" ] && continue
|
if [ "${_list_type#_}" = "$_list_type" ]; then
|
||||||
|
[ "$status" != "$_list_type" ] && \
|
||||||
|
continue
|
||||||
printf "%s\n" "$board"
|
printf "%s\n" "$board"
|
||||||
|
else
|
||||||
|
[ "$status" = "${_list_type#_}" ] && \
|
||||||
|
continue
|
||||||
|
printf "%s\n" "$board"
|
||||||
|
break
|
||||||
|
fi
|
||||||
done; continue
|
done; continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue