summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-31 23:30:43 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-31 23:30:43 +0000
commit859570dc9c6311ad3cf15b3125cfaf9c44f38c78 (patch)
treebee6345cc683610a2e10e7bcaa90b2cf4e29700c /wscript
parent825931899c781c0b8ab21b0a22121428e24e458a (diff)
Fix build.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 791325f..ff44e84 100644
--- a/wscript
+++ b/wscript
@@ -8,8 +8,8 @@ from waflib import Logs
APPNAME = 'libasdcp-cth'
if os.path.exists('.git'):
- this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8')
- last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0].decode('UTF-8')
+ this_version = subprocess.Popen(shlex.split('git tag -l --points-at HEAD'), stdout=subprocess.PIPE).communicate()[0]
+ last_version = subprocess.Popen(shlex.split('git describe --tags --abbrev=0'), stdout=subprocess.PIPE).communicate()[0]
if this_version == '':
VERSION = '%sdevel' % last_version[1:].strip()
else: