mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
fix wscript to handle git revision ID that consists of just MAJOR.MINOR, as will happen if the repo is at the exact same rev as the MAJOR.MINOR tag
Conflicts: wscript
This commit is contained in:
parent
10b6bb833c
commit
f820dc3717
1 changed files with 1 additions and 1 deletions
2
wscript
2
wscript
|
|
@ -38,7 +38,7 @@ MAJOR = parts[0]
|
||||||
other = parts[1].split ('-')
|
other = parts[1].split ('-')
|
||||||
MINOR = other[0]
|
MINOR = other[0]
|
||||||
if len(other) > 1:
|
if len(other) > 1:
|
||||||
MICRO = other[0]
|
MICRO = other[1]
|
||||||
else:
|
else:
|
||||||
MICRO = '0'
|
MICRO = '0'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue