summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/linux.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-30 17:27:40 +1000
committerChris Johns <chrisj@rtems.org>2013-04-30 17:27:40 +1000
commitcb5fc2c4df0d639cab44684f9f7e97191dab8934 (patch)
treed33f8369640719feef32d61fb063722fb3e80e28 /source-builder/sb/linux.py
parentFix the dist_ver bug. Covert the string to an int. (diff)
downloadrtems-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.py2
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 == '':