diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 02:51:15 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 02:51:15 +0100 |
commit | 54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0 (patch) | |
tree | 90725abc344c3a06f42dc3de7054090a7ed63de6 /resources/utilities/grub-assemble/grub_memdisk_keymap | |
parent | fd9368b2dd1817a6f0ca30adb4fcc4391264888a (diff) | |
download | librebootfr-54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0.tar.gz librebootfr-54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0.zip |
grub-assemble/grub_memdisk_keymap: don't use ls
Diffstat (limited to 'resources/utilities/grub-assemble/grub_memdisk_keymap')
-rwxr-xr-x | resources/utilities/grub-assemble/grub_memdisk_keymap | 4 |
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 657355f6..7444d360 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 |