sort glob output before using it
This commit is contained in:
parent
0b825ab3ab
commit
e0ff5eb254
@ -3,7 +3,7 @@
|
||||
|
||||
<%page args="root, basearch, libdir, configdir"/>
|
||||
<%
|
||||
PYTHONDIR = glob("usr/"+libdir+"/python?.?")[0]
|
||||
PYTHONDIR = sorted(glob("usr/"+libdir+"/python?.?"))[0]
|
||||
stubs = ("list-harddrives", "raidstart", "raidstop")
|
||||
configdir = configdir + "/common"
|
||||
%>
|
||||
|
Loading…
Reference in New Issue
Block a user