mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
ensure that program version strings are not unicode
This commit is contained in:
parent
40ddbc6195
commit
3a8bb36e28
1 changed files with 4 additions and 2 deletions
6
wscript
6
wscript
|
|
@ -179,8 +179,10 @@ else:
|
||||||
MICRO = '0'
|
MICRO = '0'
|
||||||
|
|
||||||
V = MAJOR + '.' + MINOR + '.' + MICRO
|
V = MAJOR + '.' + MINOR + '.' + MICRO
|
||||||
VERSION = V
|
# Ensure that these are not unicode, which
|
||||||
PROGRAM_VERSION = MAJOR
|
# can cause odd problems elsewhere
|
||||||
|
VERSION = V.encode ('ascii', 'ignore')
|
||||||
|
PROGRAM_VERSION = MAJOR.encode ('ascii', 'ignore')
|
||||||
|
|
||||||
# Mandatory variables
|
# Mandatory variables
|
||||||
top = '.'
|
top = '.'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue