Readability improvement

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-11-15 16:56:26 +01:00
parent cce0012463
commit e7fc8a232f

View File

@ -46,7 +46,7 @@ shift $((OPTIND - 1))
list_matches () {
while read name platform junk; do
for pattern; do
for pattern in "$@"; do
case $platform in
$pattern) echo "$name"; break;;
esac