mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
The dist version is index 1 not 2.
This commit is contained in:
@@ -69,7 +69,7 @@ def load():
|
|||||||
|
|
||||||
# Works for LSB distros
|
# Works for LSB distros
|
||||||
distro = platform.dist()[0]
|
distro = platform.dist()[0]
|
||||||
distro_ver = int(platform.dist()[2])
|
distro_ver = int(platform.dist()[1])
|
||||||
|
|
||||||
# Non LSB - fail over to issue
|
# Non LSB - fail over to issue
|
||||||
if distro == '':
|
if distro == '':
|
||||||
|
Reference in New Issue
Block a user