From 6dae56c45256ef439a11ab20a5bc58be8c033973 Mon Sep 17 00:00:00 2001 From: justin-hopper Date: Wed, 1 May 2013 15:47:27 -0700 Subject: [PATCH] Fix GRUB command quote escape for VM element Quotes were being eaten by bash Change-Id: Ib33be02eeb703df5b23fc8d0b312f480c69f1b1b Fixes: bug #1175374 --- elements/vm/finalise.d/51-grub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/vm/finalise.d/51-grub b/elements/vm/finalise.d/51-grub index 1bdbacb72..4ee5517e9 100755 --- a/elements/vm/finalise.d/51-grub +++ b/elements/vm/finalise.d/51-grub @@ -26,7 +26,7 @@ GRUB_OPTS=${GRUB_OPTS:---modules="biosdisk part_msdos"} if [ $DIB_RELEASE != 'precise' ]; then GRUB_OPTS="$GRUB_OPTS --target=i386-pc" fi -$GRUBNAME $GRUB_OPTS $BOOT_DEV +$GRUBNAME "$GRUB_OPTS" $BOOT_DEV # This might be better factored out into a per-distro 'install-bootblock' # helper. if [ -f "/boot/grub/grub.cfg" ] ; then