diff options
author | Chris Johns <chrisj@rtems.org> | 2012-07-21 15:35:11 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-07-21 15:35:11 +1000 |
commit | a21c3ff7432f3a17fece7217b94ece295e64bfa7 (patch) | |
tree | 29aa3b67db78bc92001acac9ed793bb4101211b4 | |
parent | 7cf59b6a13cbcf9e2d47e2bc906b0ca2d7a7eb17 (diff) |
Fix the split of the arch/bsps.
-rw-r--r-- | rtems.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -302,7 +302,7 @@ def _find_installed_archs(config, path, version): a = subprocess.check_output([config, '--list-format', '"%(arch)s"']) a = a[:-1].replace('"', '') archs = set(a.split()) - archs = ['%s-rtems4.11' %(x) for x in archs] + archs = ['%s-rtems4.11' % (x) for x in archs] archs.sort() return archs @@ -327,7 +327,7 @@ def _find_installed_arch_bsps(config, path, archs): ab = subprocess.check_output([config, '--list-format']) ab = ab[:-1].replace('"', '') ab = ab.replace('/', '-rtems4.11-') - arch_bsps = set(ab.split()) + arch_bsps = [x for x in set(ab.split())] arch_bsps.sort() return arch_bsps |