From 97da098c9ef480a3ab75c48a94df63e45dafe3b7 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 05 Nov 2015 19:48:49 -0500 Subject: roms/withgrub: Fix brace expansion --- 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 -- cgit v0.9.1