On 5 March 2015 at 09:38, Chunrong Guo <[email protected]> wrote:

> -            for type in in ${UBOOT_CONFIG}; do
> +            for type in ${UBOOT_CONFIG}; do
>                  if [ "${type}"x = "in"x ]
>                  then
>                      continue
>                  fi
>

The if "${type}x" = "inx" check demonstrates that the in was repeated for a
reason, which you've just broken.

Of course all of that isn't required as a simple test demonstrates:

$ UBOOT_CONFIG=""
~
$ for type in ${UBOOT_CONFIG}; do echo x$type; done
~
$

You can remove the "typex = inx" tests as if UBOOT_CONFIG isn't set the
loop won't be entered.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to