projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ddbc6
)
ensure that program version strings are not unicode
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 21 May 2015 15:24:05 +0000
(11:24 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:15 +0000
(14:18 -0400)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index fcd217cf07f763f7363b4a2d706bcda1bd8efd5e..c9c0e41210eaeb41ccf3d8bd1abe0333f67bd9e5 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-179,8
+179,10
@@
else:
MICRO = '0'
V = MAJOR + '.' + MINOR + '.' + MICRO
-VERSION = V
-PROGRAM_VERSION = MAJOR
+# Ensure that these are not unicode, which
+# can cause odd problems elsewhere
+VERSION = V.encode ('ascii', 'ignore')
+PROGRAM_VERSION = MAJOR.encode ('ascii', 'ignore')
# Mandatory variables
top = '.'