* util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.

This commit is contained in:
davem 2009-05-05 18:54:36 +00:00
parent 119494b506
commit eef73c8a73
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-05-05 David S. Miller <davem@davemloft.net>
* util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.
2009-05-05 Pavel Roskin <proski@gnu.org> 2009-05-05 Pavel Roskin <proski@gnu.org>
* include/grub/dl.h [GRUB_UTIL]: Provide inline implementations * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations

View file

@ -237,8 +237,8 @@ if [ "x${devabstraction_module}" = "x" ] ; then
grub_drive="`$grub_probe --target=drive --device ${grub_device}`" grub_drive="`$grub_probe --target=drive --device ${grub_device}`"
# Strip partition number # Strip partition number
install_drive="`echo ${install_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`" grub_drive="`echo ${grub_drive} | sed -e 's/\([^\]\),[0-9]*/\1/g'`"
if [ "x${grub_drive}" != "x${install_drive}" ] ; then if [ "x${grub_drive}" != "x${install_drive}" ] ; then
uuid="`$grub_probe --target=fs_uuid --device ${grub_device}`" uuid="`$grub_probe --target=fs_uuid --device ${grub_device}`"
if [ "x${uuid}" = "x" ] ; then if [ "x${uuid}" = "x" ] ; then