[oe-commits] Christopher Larson : sanity: handle both \n and \\n in mirror vars
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 27 11:13:23 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 3e203e91afa48557eb754dd554944012f7f0c0a2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3e203e91afa48557eb754dd554944012f7f0c0a2
Author: Christopher Larson <chris_larson at mentor.com>
Date: Mon Aug 25 15:57:42 2014 -0700
sanity: handle both \n and \\n in mirror vars
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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.
More information about the Openembedded-commits
mailing list