فهرست منبع

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

Andreas Kling 5 سال پیش
والد
کامیت
8216019b2e
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Kernel/build-gpt-image-grub.sh
  2. 1 1
      Kernel/build-image-grub.sh

+ 1 - 1
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

+ 1 - 1
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