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:29 +0100 |
commit | d68255d14bfa43bfa35c724631ab844a141e300e (patch) | |
tree | e81c5b6eef947a517b89d066085e55949f119876 /meta/classes/sanity.bbclass | |
parent | 52b788c6df9201764130ab744bf67b770b24b896 (diff) | |
download | poky-d68255d14bfa43bfa35c724631ab844a141e300e.tar.gz |
sanity: handle both \n and \\n in mirror vars
(From OE-Core rev: 3e203e91afa48557eb754dd554944012f7f0c0a2)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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): | |||
759 | 'git://', 'gitsm://', 'hg://', 'osc://', 'p4://', 'svk://', 'svn://', \ | 759 | 'git://', 'gitsm://', 'hg://', 'osc://', 'p4://', 'svk://', 'svn://', \ |
760 | 'bzr://', 'cvs://'] | 760 | 'bzr://', 'cvs://'] |
761 | for mir_type in mir_types: | 761 | for mir_type in mir_types: |
762 | mirros = (d.getVar(mir_type, True) or '').split('\\n') | 762 | mirros = (d.getVar(mir_type, True) or '').replace('\\n', '\n').split('\n') |
763 | for mir in mirros: | 763 | for mir in mirros: |
764 | mir_list = mir.split() | 764 | mir_list = mir.split() |
765 | # Should be two members. | 765 | # Should be two members. |