summaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-10 04:40:48 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-10 04:40:48 +0100
commitd521fca7efa633698b75c81af9e0e15b4427376f (patch)
treec13f50676f15dd7dfc0bd2f4f814d0e5b4860886 /resources/scripts
parent67a607b88cb19619a39f60d8b665a1bd0b4a1285 (diff)
build/roms: fix faulty keymap list expansion
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/build/boot/roms_helper5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper
index cdf89c82..90cde2ed 100755
--- a/resources/scripts/build/boot/roms_helper
+++ b/resources/scripts/build/boot/roms_helper
@@ -535,7 +535,10 @@ mkRomsWithGrub() {
keymaps=""
if [ -z ${keyboard_layouts} ]; then
- keymaps="${kmapdir}/*"
+ for kmapfile in "${kmapdir}"/*
+ do
+ keymaps="${keymaps} ${kmapfile}"
+ done
else
for keymapname in ${keyboard_layouts}; do
keymaps="${keymaps} ${kmapdir}/${keymapname}.gkb"