Build: Fix more bugs in the POSIX sh-ification of scripts

This commit is contained in:
Andreas Kling 2019-11-03 13:11:43 +01:00
parent 53cfed7c8b
commit 8216019b2e
Notes: sideshowbarker 2024-07-19 11:27:13 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ mkdir -p mnt/boot
echo "done"
echo "installing grub using $grub..."
$grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos part_gpt ${dev}"
$grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos part_gpt" "${dev}"
if [ -d mnt/boot/grub2 ]; then
cp grub_gpt.cfg mnt/boot/grub2/grub.cfg

View File

@ -73,7 +73,7 @@ mkdir -p mnt/boot
echo "done"
echo "installing grub using $grub..."
$grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos ${dev}"
$grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos" "${dev}"
if [ -d mnt/boot/grub2 ]; then
cp grub.cfg mnt/boot/grub2/grub.cfg