libreboot

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

commit 618e41670702af8dc51909700c99b0c601a7547e
parent 8c1fe4093f57380af78aba4e7e9bdf83ba09a2df
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 30 Aug 2015 15:22:08 +0100

grub-assemble/grub_memdisk_keymap: simplify for loop

Diffstat:
resources/utilities/grub-assemble/grub_memdisk_keymap | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

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