* util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting.
This commit is contained in:
parent
119494b506
commit
eef73c8a73
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue