diff --git a/wscript b/wscript index ab10e9a844..f35eb96a9c 100755 --- a/wscript +++ b/wscript @@ -35,8 +35,8 @@ else: parts = rev.split ('.') MAJOR = parts[0] -MINOR = parts[1] other = parts[1].split ('-') +MINOR = other[0] if len(other) > 1: MICRO = other[0] else: