diff options
author | Klemens Nanni <contact@autoboot.org> | 2015-11-06 01:48:49 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-11-06 02:50:21 +0000 |
commit | 97da098c9ef480a3ab75c48a94df63e45dafe3b7 (patch) | |
tree | 3e6d9466e2a7dd8c2f2a92abc1260c2776e2d73f /resources/scripts/helpers/build/roms | |
parent | 24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef (diff) | |
download | librebootfr-97da098c9ef480a3ab75c48a94df63e45dafe3b7.tar.gz librebootfr-97da098c9ef480a3ab75c48a94df63e45dafe3b7.zip |
roms/withgrub: Fix brace expansion
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index bc5af722..89b8b00b 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -43,9 +43,9 @@ for romtype in txtmode vesafb; do # GRUB configuration files for keylayout in ../resources/utilities/grub-assemble/keymap/original/*; do keymap="${keylayout##*/}" - cat "../resources/grub/config/extra/{common,${romtype}}.cfg" > "grub_${keymap}_${romtype}.cfg" + cat ../resources/grub/config/extra/{common,"${romtype}"}.cfg > "grub_${keymap}_${romtype}.cfg" printf "keymap %s\n" "${keymap}" >> "grub_${keymap}_${romtype}.cfg" - cat "../resources/grub/config/menuentries/{common,${romtype}}.cfg" >> "grub_${keymap}_${romtype}.cfg" + cat ../resources/grub/config/menuentries/{common,"${romtype}"}.cfg >> "grub_${keymap}_${romtype}.cfg" # grubtest.cfg should be able to switch back to grub.cfg sed "s/grubtest.cfg/grub.cfg/" < "grub_${keymap}_${romtype}.cfg" > "grub_${keymap}_${romtype}_test.cfg" done |