mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
Build: Fix more bugs in the POSIX sh-ification of scripts
This commit is contained in:
parent
53cfed7c8b
commit
8216019b2e
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ mkdir -p mnt/boot
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
echo "installing grub using $grub..."
|
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
|
if [ -d mnt/boot/grub2 ]; then
|
||||||
cp grub_gpt.cfg mnt/boot/grub2/grub.cfg
|
cp grub_gpt.cfg mnt/boot/grub2/grub.cfg
|
||||||
|
|
|
@ -73,7 +73,7 @@ mkdir -p mnt/boot
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
echo "installing grub using $grub..."
|
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
|
if [ -d mnt/boot/grub2 ]; then
|
||||||
cp grub.cfg mnt/boot/grub2/grub.cfg
|
cp grub.cfg mnt/boot/grub2/grub.cfg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue