summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-21 11:24:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:15 -0400
commit3a8bb36e287e839214336227dd1d1c869a2b1b44 (patch)
tree47b8b4db97d201049804956f50db871d7a41ca70 /wscript
parent40ddbc619534a2e2acc8d08d745c7ec390fadef7 (diff)
ensure that program version strings are not unicode
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index fcd217cf07..c9c0e41210 100644
--- 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 = '.'