summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rwxr-xr-xresources/utilities/grub-assemble/grub_memdisk_keymap5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/utilities/grub-assemble/grub_memdisk_keymap b/resources/utilities/grub-assemble/grub_memdisk_keymap
index 7444d36..451a69f 100755
--- a/resources/utilities/grub-assemble/grub_memdisk_keymap
+++ b/resources/utilities/grub-assemble/grub_memdisk_keymap
@@ -22,9 +22,8 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-keymaps="$(for keymap in keymap/original/*; do printf "%s\n" "${keymap##*/}"; done)"
-
-for keymap in ${keymaps}
+for keylayout in keymap/original/*
do
+ keymap="${keylayout##*/}"
printf "/boot/grub/layouts/%s.gkb=keymap/%s.gkb " "${keymap}" "${keymap}"
done