]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.
authordavem <davem@localhost>
Tue, 5 May 2009 18:54:36 +0000 (18:54 +0000)
committerdavem <davem@localhost>
Tue, 5 May 2009 18:54:36 +0000 (18:54 +0000)
ChangeLog
util/sparc64/ieee1275/grub-install.in

index 60a10dc336cc26064dc4fb5d48bdd3a44f2e134f..cf9196a4aaf8aa8542cd13376968e91ab57cc03f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations
index a174050b4eb3fc1e1eb441cd87cf7de262e40d29..5cfb858d797cfe73b450ce78939a767c1bc7c3cf 100644 (file)
@@ -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