fix wscript version derivation from git version info

This commit is contained in:
Paul Davis 2014-08-18 15:40:56 -04:00
parent eb72436911
commit 89742f77a2

View file

@ -35,8 +35,8 @@ else:
parts = rev.split ('.')
MAJOR = parts[0]
MINOR = parts[1]
other = parts[2].split ('-')
other = parts[1].split ('-')
MINOR = other[0]
if len(other) > 1:
MICRO = other[0]
else: