diff options
author | Christopher Larson <chris_larson@mentor.com> | 2014-08-25 15:57:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-27 12:12:04 +0100 |
commit | 3e203e91afa48557eb754dd554944012f7f0c0a2 (patch) | |
tree | 8724dd1871020409eeded8ab0acfd9ac49158b9d | |
parent | 217aa4d9802609d2c3628c8751a27a5d25900898 (diff) | |
download | openembedded-core-3e203e91afa48557eb754dd554944012f7f0c0a2.tar.gz openembedded-core-3e203e91afa48557eb754dd554944012f7f0c0a2.tar.bz2 openembedded-core-3e203e91afa48557eb754dd554944012f7f0c0a2.zip |
sanity: handle both \n and \\n in mirror vars
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
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. |