libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0
parent fd9368b2dd1817a6f0ca30adb4fcc4391264888a
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 30 Aug 2015 02:51:15 +0100

grub-assemble/grub_memdisk_keymap: don't use ls

Diffstat:
resources/utilities/grub-assemble/grub_memdisk_keymap | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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