summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
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.