From 3e203e91afa48557eb754dd554944012f7f0c0a2 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 25 Aug 2014 15:57:42 -0700 Subject: sanity: handle both \n and \\n in mirror vars Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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. -- cgit 1.2.3-korg