summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlemens Nanni <contact@autoboot.org>2015-11-05 19:48:49 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-05 21:50:21 (EST)
commit97da098c9ef480a3ab75c48a94df63e45dafe3b7 (patch)
tree3e6d9466e2a7dd8c2f2a92abc1260c2776e2d73f
parent24d1fa4eb08bc1aa9ee6ee4dcf12169210dc43ef (diff)
downloadlibreboot-97da098c9ef480a3ab75c48a94df63e45dafe3b7.zip
libreboot-97da098c9ef480a3ab75c48a94df63e45dafe3b7.tar.gz
libreboot-97da098c9ef480a3ab75c48a94df63e45dafe3b7.tar.bz2
roms/withgrub: Fix brace expansion
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index bc5af72..89b8b00 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