[kaffe] bug in "kaffe" script

Jim Pick jim@kaffe.org
31 May 2002 21:01:08 -0700


Hmm, bash voodoo.  I'm not exactly sure what it's supposed to do.

Can I use this?

 [ "$arg" = "-ia32" ] && ia32mode=yes

That seems too simple...

Cheers,

 - Jim

On Fri, 2002-05-31 at 11:03, Timothy Stack wrote:
> 
> hi,
> 
> I'm getting this error in the kaffe script:
> 
> /home/stack/fake.root/usr/local/bin/kaffe: 45: Syntax error: Bad substitution
> 
> which is the following line:
> 
>     [ -z "${arg/#-ia32/}" ] && ia32mode=yes
> 
> This is on FreeBSD 4.3 using the standard shell, if i change the script to
> use bash instead it works fine.
> 
> thanks,
> 
> tim
> 
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe