diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-27 09:25:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-27 09:25:50 +0100 |
commit | 5a47c01b11a7fc25f7fae0685d288a78220b954a (patch) | |
tree | 26394c5de89020eb2d6fc143dd9b3349581d6cf4 /resources/scripts/build/grub | |
parent | 1c8401be25e4749a2eee5ddc77ce7c6ac880c910 (diff) |
scripts: put quotes around file/directory names
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/grub')
-rwxr-xr-x | resources/scripts/build/grub/payload | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/scripts/build/grub/payload b/resources/scripts/build/grub/payload index 00ed4d44..63849bac 100755 --- a/resources/scripts/build/grub/payload +++ b/resources/scripts/build/grub/payload @@ -82,22 +82,22 @@ build_grub_elf() grub/grub-mkstandalone \ --grub-mkimage="grub/grub-mkimage" \ -O i386-coreboot \ - -o elf/grub/grub_${keymap}.elf \ + -o "elf/grub/grub_${keymap}.elf" \ -d grub/grub-core/ \ --fonts= --themes= --locales= \ --modules="${grub_modules}" \ --install-modules="${grub_install_modules}" \ - ${gcfg} ${grubk} || \ + "${gcfg}" "${grubk}" || \ err "build_grub_elf: cannot build grub payload (grub-mkstandalone)" } create_grub_config() { - sed "s/usqwerty/${keymap}/" < ${grubcfgsdir}/config/grub.cfg \ - > elf/grub/grub_${keymap}.cfg || \ + sed "s/usqwerty/${keymap}/" < "${grubcfgsdir}/config/grub.cfg" \ + > "elf/grub/grub_${keymap}.cfg" || \ err "create_grub_config: sed failed: grub.cfg" - sed "s/grubtest.cfg/grub.cfg/" < elf/grub/grub_${keymap}.cfg \ - > elf/grub/grub_${keymap}_test.cfg || \ + sed "s/grubtest.cfg/grub.cfg/" < "elf/grub/grub_${keymap}.cfg" \ + > "elf/grub/grub_${keymap}_test.cfg" || \ err "create_grub_config: sed failed: grubtest.cfg" } |