if not isinstance(last_version, str):
last_version = last_version.decode('utf-8')
-if this_version == '':
+if this_version == '' or this_version == 'merged-to-main':
VERSION = '%sdevel' % last_version[1:].strip()
else:
VERSION = this_version[1:].strip()
def post(ctx):
if ctx.cmd == 'install' and ctx.env.TARGET_LINUX:
ctx.exec_command('/sbin/ldconfig')
- # setuid root executable
- exe = os.path.join(ctx.env['INSTALL_PREFIX'], 'bin/%s/dcpomatic2_disk_writer')
- if os.path.exists(exe):
- os.chmod(exe, 0o4755)
def pot(bld):
bld.recurse('src')