[OpenBIOS] Solaris anyone? Q2

Paul Brook paul at nowt.org
Thu May 5 01:19:56 CEST 2011


> >   crosscflags()
> >   {
> > 
> > -    local host=$1
> > -    local target=$2
> > +    host=$1
> > +    target=$2
> > 
> 
> Confirmed; this produces the correct result with /bin/sh (ksh93), bash,
> and /usr/xpg4/bin/sh.

Have you tried separating the declaration and the definition. i.e.:

local host
host=$1

IIRC there are sometimes issues when you combine the two.

Paul



More information about the OpenBIOS mailing list