This is already fixed in CVS.

On Tue, Jun 05, 2001 at 11:34:52AM -0700, Gregory Margo wrote:
> The grub-install script splits a `` expression across two lines.
> While some shells might handle that, the one I'm using,
>       GNU bash, version 2.04.3(1)-release (i586-mandrake-linux-gnu)
> does not seem to.
> 
> This patch just adds two backslashs, which makes the error messages
> go away:
> 
> 
> --- grub-0.5.96.1/util/grub-install.in.00     Mon Oct 16 07:42:36 2000
> +++ grub-0.5.96.1/util/grub-install.in        Tue Jun  5 11:25:41 2001
> @@ -76,9 +76,9 @@
>      # Break the device name into the disk part and the partition part.
>      case "$host_os" in
>      linux*)
> -     tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%'
> +     tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
>                                 -e 's%/part[0-9]*$%/disc%'`
> -     tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%'
> +     tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
>                                 -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%'`
>       ;;
>      gnu*)
> 
> 
> 
> 
> -- 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Gregory H. Margo
> Home: [EMAIL PROTECTED]
> Work: [EMAIL PROTECTED]
> 
> _______________________________________________
> Bug-grub mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/bug-grub
> 
> 
> _______________________________________________
> bug-grub mailing list
> [EMAIL PROTECTED]
> http://mail.topic.com.au/cgi-bin/mailman/listinfo/bug-grub

-- 
Jason Thomas                           Phone:  +61 2 6257 7111
System Administrator  -  UID 0         Fax:    +61 2 6257 7311
tSA Consulting Group Pty. Ltd.         Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602         http://www.topic.com.au/

PGP signature

Reply via email to