Fix GRUB command quote escape for VM element

Quotes were being eaten by bash

Change-Id: Ib33be02eeb703df5b23fc8d0b312f480c69f1b1b
Fixes: bug #1175374
This commit is contained in:
justin-hopper 2013-05-01 15:47:27 -07:00
parent 9e9f5fecb8
commit 6dae56c452

View File

@ -26,7 +26,7 @@ GRUB_OPTS=${GRUB_OPTS:---modules="biosdisk part_msdos"}
if [ $DIB_RELEASE != 'precise' ]; then if [ $DIB_RELEASE != 'precise' ]; then
GRUB_OPTS="$GRUB_OPTS --target=i386-pc" GRUB_OPTS="$GRUB_OPTS --target=i386-pc"
fi fi
$GRUBNAME $GRUB_OPTS $BOOT_DEV $GRUBNAME "$GRUB_OPTS" $BOOT_DEV
# This might be better factored out into a per-distro 'install-bootblock' # This might be better factored out into a per-distro 'install-bootblock'
# helper. # helper.
if [ -f "/boot/grub/grub.cfg" ] ; then if [ -f "/boot/grub/grub.cfg" ] ; then