Bug#260811: a couple of syntax errors in /sbin/update-grub

Jason Thomas Jason Thomas <jason@debian.org>, 260811@bugs.debian.org
Sat, 24 Jul 2004 08:44:30 +1000


Any idea how this happened?

On Thu, Jul 22, 2004 at 12:26:01PM +0200, Kiko Piris wrote:
> Package: grub
> Version: 0.95+cvs20040624-5
> Severity: important
> Tags: patch
> 
> There are a couple of syntax errors in /sbin/update-grub, following is a
> trivial patch to fix them:
> 
> ---8<---
> --- /sbin/update-grub_0.95+cvs20040624-5	2004-07-21 01:12:00.000000000 +0200
> +++ /sbin/update-grub	2004-07-22 12:18:59.000000000 +0200
> @@ -202,10 +202,10 @@ convert () {
>  # (hd0,0) if anything goes wrong
>  convert_default () {
>  	local tmp
> -	if tmp=$(convert $1 2&gt;/dev/null) ; then
> +	if tmp=$(convert $1 2>/dev/null) ; then
>  		echo $tmp
>  	else
> -		echo &quot;(hd0,0)&quot;
> +		echo "(hd0,0)"
>  	fi
>  }
>  
> --->8---
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7
> Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 (ignored: LC_ALL set to es_ES@euro)
> 
> Versions of packages grub depends on:
> ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
> ii  libncurses5                 5.4-4        Shared libraries for terminal hand
> 
> -- no debconf information
> 
> 
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
> 
> Scanned by PeNiCillin http://safe-t-net.pnc.com.au/

-- 
Jason

"I hope you learn speaking English proper I hope speak I me you."
     -- Branden Robinson, 2001