summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-15 04:11:10 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-15 04:11:10 +0100
commit0e1e9c1773734c38426529ba8cda2f5b9e5b8f9b (patch)
tree9221c873e994886292aba82b615c2f8e7174a27c
parentbea67353950d1e6972ff5bf362807ab4a767224a (diff)
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.
-rwxr-xr-xresources/scripts/download/coreboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index fa36fd75..f120270c 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -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