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...
fiarch_list="$arch_list $arch"
+done
Btw, is it safe to use $arch_list here when $arch is a variable, too?
Andreas