libreboot

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

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

build/roms/withgrub_helper: simplify for loop

Diffstat:
resources/scripts/helpers/build/roms/withgrub_helper | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper @@ -99,8 +99,10 @@ do fi # Add the correct GRUB configuration file for this image. - for keymap in $(for keylayout in ../resources/utilities/grub-assemble/keymap/original/*; do printf "%s\n" "${keylayout##*/}"; done) + for keylayout in ../resources/utilities/grub-assemble/keymap/original/* do + keymap="${keylayout##*/}" + # copy the images based on the keymap cp "${boardtarget}_${romtype}.rom" "${boardtarget}_${keymap}_${romtype}.rom"