diff options
author | Chris Johns <chrisj@rtems.org> | 2013-05-16 15:34:00 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-05-16 15:34:00 +1000 |
commit | b83b596ba0e691e74bd54a97a0a7162e3b8dab9b (patch) | |
tree | f62e3d5b79c14bef0d626861ed48561b47887f72 /source-builder/sb/linux.py | |
parent | Update the automake version to 1.12.6 as required by rtems/configure.ac (diff) | |
download | rtems-source-builder-b83b596ba0e691e74bd54a97a0a7162e3b8dab9b.tar.bz2 |
Fix the core detection on Linux.
Diffstat (limited to 'source-builder/sb/linux.py')
-rw-r--r-- | source-builder/sb/linux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/linux.py b/source-builder/sb/linux.py index 6c4cf52..16bf0f1 100644 --- a/source-builder/sb/linux.py +++ b/source-builder/sb/linux.py @@ -40,7 +40,7 @@ def load(): try: for l in output.split('\n'): count = l.split(':')[1].strip() - if count > cpus: + if int(count) > ncpus: ncpus = int(count) except: pass |