[OE-core] [PATCHv2 1/3] sanity: handle both \n and \\n in mirror vars
Koen Kooi
koen at dominion.thruhere.net
Wed Aug 27 11:50:52 UTC 2014
Op 26 aug. 2014, om 00:57 heeft Christopher Larson <kergoth at gmail.com> het volgende geschreven:
> From: Christopher Larson <chris_larson at mentor.com>
>
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Tested-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
> meta/classes/sanity.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index dbcc26b..7cfc4be 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -759,7 +759,7 @@ def check_sanity_everybuild(status, d):
> 'git://', 'gitsm://', 'hg://', 'osc://', 'p4://', 'svk://', 'svn://', \
> 'bzr://', 'cvs://']
> for mir_type in mir_types:
> - mirros = (d.getVar(mir_type, True) or '').split('\\n')
> + mirros = (d.getVar(mir_type, True) or '').replace('\\n', '\n').split('\n')
> for mir in mirros:
> mir_list = mir.split()
> # Should be two members.
> --
> 1.8.3.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list