[OpenBIOS] Solaris anyone? Q2

Nathan Kunkee nkunkee42 at hotmail.com
Wed May 4 21:05:12 CEST 2011


> This would fix the script to work on Solaris:
>
> --- switch-arch.orig    2011-05-02 20:54:43.312500000 -0400
> +++ switch-arch 2011-05-02 20:56:05.093750000 -0400
> @@ -19,8 +19,8 @@
>   
>   crosscflags()
>   {
> -    local host=$1
> -    local target=$2
> +    host=$1
> +    target=$2
>   
>       if test "$host" = "powerpc" -o "$host" = "ppc" \
>           -o "$host" = "mips" -o "$host" = "s390" \
>
>
>
> Ken
>
Confirmed; this produces the correct result with /bin/sh (ksh93), bash, 
and /usr/xpg4/bin/sh.

Thanks,
Nathan



More information about the OpenBIOS mailing list