diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 15:15:43 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 15:15:43 +0100 |
commit | 8c1fe4093f57380af78aba4e7e9bdf83ba09a2df (patch) | |
tree | cb86ff75ad23d88f8129dff935c3dabb4f225a97 /resources/scripts/helpers/build/roms | |
parent | e1ddb130d9ac48cbd6abdc42adc5581825a42e46 (diff) | |
download | librebootfr-8c1fe4093f57380af78aba4e7e9bdf83ba09a2df.tar.gz librebootfr-8c1fe4093f57380af78aba4e7e9bdf83ba09a2df.zip |
build/roms/withgrub_helper: simplify for loop
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub_helper | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper index 7dbd9f6b..4869ae74 100755 --- 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" |