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