[oe] [PATCH] base.bbclass: in base_contains, check for var existance before using it
Marcin Juszkiewicz
marcin at juszkiewicz.com.pl
Tue Jan 26 15:49:38 UTC 2010
Dnia piątek, 15 stycznia 2010 o 18:36:58 Chris Larson napisał(a):
> From: Brian Pomerantz <bapper at mvista.com>
>
> When using base_contains() to check for a string in a variable for a,
> if the variable is not defined an exception occurs. By checking the
> existance of the variable and returning false if it isn't there,
> a value can be checked for a variable regardless of whether or not it
> is defined.
>
> Signed-off-by: Brian Pomerantz <bapper at mvista.com>
> Signed-off-by: Chris Larson <clarson at mvista.com>
Acked-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Regards,
--
JID: hrw at jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100126/d0ffd3ab/attachment-0002.sig>
More information about the Openembedded-devel
mailing list