download/coreboot: fix downloads without argument

this should download all trees:

	./download coreboot

without this patch, it doesn't

with this patch, it works

i overlooked this during earlier
refactoring. auditing revealed it.
fsdg20230625
Leah Rowe 2023-05-15 04:11:10 +01:00
parent bea6735395
commit 0e1e9c1773
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ fetch_coreboot_trees()
else
for board in resources/coreboot/*; do
[ ! -d "${board}" ] && continue
boards="${boards} ${board}"
boards="${boards} ${board##*/}"
done
fi
for board in ${boards}; do