[OpenBIOS] [commit] r879 - in trunk/openbios-devel/config: examples scripts

Andreas Färber andreas.faerber at web.de
Sun Oct 3 23:04:34 CEST 2010


Am 03.10.2010 um 16:23 schrieb repository service:

> +arch_list=""
> +for target in $target_list; do
> +    arch=`echo $target | sed s/.*-//g`
> +    if ! test -f config/examples/${arch}_config.xml; then
> +        echo "Cannot find config/examples/${arch}_config.xml" >&2
> +        exit 1
> +    fi
> +    if ! echo $arch_list | grep -q "$arch"; then

This grep bit me - you cannot do qemu-ppc64 qemu-ppc, it must be qemu- 
ppc qemu-ppc64...

> +        arch_list="$arch_list $arch"
>     fi
> +done


Btw, is it safe to use $arch_list here when $arch is a variable, too?

Andreas




More information about the OpenBIOS mailing list