From eef73c8a731e27a1dadfe7ab000aad82ecee74a8 Mon Sep 17 00:00:00 2001 From: davem Date: Tue, 5 May 2009 18:54:36 +0000 Subject: [PATCH] * util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting. --- ChangeLog | 4 ++++ util/sparc64/ieee1275/grub-install.in | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60a10dc33..cf9196a4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-05 David S. Miller + + * util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting. + 2009-05-05 Pavel Roskin * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations diff --git a/util/sparc64/ieee1275/grub-install.in b/util/sparc64/ieee1275/grub-install.in index a174050b4..5cfb858d7 100644 --- a/util/sparc64/ieee1275/grub-install.in +++ b/util/sparc64/ieee1275/grub-install.in @@ -237,8 +237,8 @@ if [ "x${devabstraction_module}" = "x" ] ; then grub_drive="`$grub_probe --target=drive --device ${grub_device}`" # Strip partition number - install_drive="`echo ${install_drive} | sed -e s/\([^\]\),[0-9]*/\1/g`" - grub_drive="`echo ${grub_drive} | sed -e s/\([^\]\),[0-9]*/\1/g`" + install_drive="`echo ${install_drive} | sed -e 's/\([^\]\),[0-9]*/\1/g'`" + grub_drive="`echo ${grub_drive} | sed -e 's/\([^\]\),[0-9]*/\1/g'`" if [ "x${grub_drive}" != "x${install_drive}" ] ; then uuid="`$grub_probe --target=fs_uuid --device ${grub_device}`" if [ "x${uuid}" = "x" ] ; then