build/roms: fix faulty keymap list expansion

fsdg20230625
Leah Rowe 2023-05-10 04:40:48 +01:00
parent 67a607b88c
commit d521fca7ef
1 changed files with 4 additions and 1 deletions

View File

@ -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"