[OE-core] still seems to be a pile of "_append +=" stuff in oe-core
Christopher Larson
clarson at kergoth.com
Mon Nov 23 02:05:26 UTC 2015
On Sun, Nov 22, 2015 at 8:24 PM, Robert Yang <liezhi.yang at windriver.com>
wrote:
> The _append and += are different, so we need either:
>
> var_append = " foo"
> or
> var_append += "foo"
>
> for example:
>
> var += "foo"
> var = "A"
>
> Then var will be "A".
>
> But:
> var_append += "foo"
> var = "A"
>
> Then var will be "A foo"
>
Yes, but _append += is not preferred by convention, it just adds confusion.
When using _append, make the separator explicit.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151122/3319d5aa/attachment-0002.html>
More information about the Openembedded-core
mailing list