diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-18 12:39:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-03 17:02:35 +0100 |
| commit | b8d5991589f5294c0254a508a45c3d48e8e35929 (patch) | |
| tree | d961d4ee25d7d7a75fc3af2a35fc83df29d93f00 /wscript | |
| parent | bc9484b80080b4e77ed813bfd340f59ba1e10335 (diff) | |
Build fix.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
