From: Christopher Larson Date: Mon, 25 Aug 2014 22:57:42 +0000 (-0700) Subject: sanity: handle both \n and \\n in mirror vars X-Git-Tag: 2015-4~1787 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3e203e91afa48557eb754dd554944012f7f0c0a2;p=openembedded-core.git sanity: handle both \n and \\n in mirror vars Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index dbcc26b184..7cfc4be79b 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.