Merge pull request #2000 from XXXXzzzz000/fix_build_bug

[tools] fix bug.
This commit is contained in:
Bernard Xiong authored and GitHub committed 2018-11-23 17:16:27 +08:00
commit 8f1272cd8f
1 file changed
+3 -1
+3 -1
View File
@@ -245,7 +245,9 @@ def ProjectInfo(env):
return proj
def VersionCmp(ver1, ver2):
la = ver1.split('.')
la=[];
if ver1:
la = ver1.split('.')
lb = ver2.split('.')
f = 0
if len(la) > len(lb):