diff options
author | Chris Johns <chrisj@rtems.org> | 2013-04-30 17:27:40 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-04-30 17:27:40 +1000 |
commit | cb5fc2c4df0d639cab44684f9f7e97191dab8934 (patch) | |
tree | d33f8369640719feef32d61fb063722fb3e80e28 /source-builder/sb/linux.py | |
parent | Fix the dist_ver bug. Covert the string to an int. (diff) | |
download | rtems-source-builder-cb5fc2c4df0d639cab44684f9f7e97191dab8934.tar.bz2 |
The dist version is index 1 not 2.
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 bb72ef8..47e98b9 100644 --- a/source-builder/sb/linux.py +++ b/source-builder/sb/linux.py @@ -69,7 +69,7 @@ def load(): # Works for LSB distros distro = platform.dist()[0] - distro_ver = int(platform.dist()[2]) + distro_ver = int(platform.dist()[1]) # Non LSB - fail over to issue if distro == '': |