On Wed, Aug 08, 2001 at 10:17:31AM +0100, Richard Hirst wrote:
> On Wed, Aug 08, 2001 at 07:49:26AM +1000, Herbert Xu wrote:
> > Matt Kraai <[EMAIL PROTECTED]> wrote:
> > 
> > > local: 3: bad variable name
> > 
> > Sounds like a problem with missing quotes, e.g.,
> > 
> > local f=$(echo a b)
> > 
> > instead of
> > 
> > local f="$(echo a b)"
> 
> Yeah, debootstrap bug referenced on bug #106050 - sorry, should have
> followed that up, but OLS got in the way.
> 
> 
> --- debootstrap-0.1.15/functions-     Thu Jun 28 13:57:18 2001
> +++ debootstrap-0.1.15/functions      Wed Aug  8 11:13:37 2001
> @@ -91,8 +91,8 @@
>    if [ "$#" -gt 5 ]; then
>      local st=3
>      if [ "$5" = "-" ]; then st=6; fi
> -    local order=$(a=$st; while [ "$a" -le $# ]; do eval echo "\$$(($a+1))" $a;
> -                  a=$(($a + 3)); done | sort -n | sed 's/.* //')
> +    local order="$(a=$st; while [ "$a" -le $# ]; do eval echo "\$$(($a+1))" $a;
> +                  a=$(($a + 3)); done | sort -n | sed 's/.* //')"
>    else
>      local order=3
>    fi
> 
> 
> I'll file a serious bug against debootstrap now.

Oh, it is already there as #106062, thanks to Herbert.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to