From 8216019b2e8df1edcc2c1f4d7e0c88f69fc2b601 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 3 Nov 2019 13:11:43 +0100 Subject: [PATCH] Build: Fix more bugs in the POSIX sh-ification of scripts --- Kernel/build-gpt-image-grub.sh | 2 +- Kernel/build-image-grub.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/build-gpt-image-grub.sh b/Kernel/build-gpt-image-grub.sh index c0f127ebda7..001f4c37b9e 100755 --- a/Kernel/build-gpt-image-grub.sh +++ b/Kernel/build-gpt-image-grub.sh @@ -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 diff --git a/Kernel/build-image-grub.sh b/Kernel/build-image-grub.sh index 7d79c17ff14..b83064bd360 100755 --- a/Kernel/build-image-grub.sh +++ b/Kernel/build-image-grub.sh @@ -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