Committed.

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 2191)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2009-05-05  David S. Miller  <da...@davemloft.net>
+
+       * util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.
+
 2009-05-05  Pavel Roskin  <pro...@gnu.org>
 
        * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations
Index: util/sparc64/ieee1275/grub-install.in
===================================================================
--- util/sparc64/ieee1275/grub-install.in       (revision 2191)
+++ util/sparc64/ieee1275/grub-install.in       (working copy)
@@ -237,8 +237,8 @@
     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


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to