mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
wscript: sanitize strings from fetch_*_revision_date early instead of applying str() all over
This can perhaps be simplified further when Python2 support is dropped.
This commit is contained in:
parent
615326be9b
commit
2973e82a90
7 changed files with 29 additions and 30 deletions
|
|
@ -22,7 +22,7 @@ def build(bld):
|
|||
if bld.env['build_target'] != 'mingw':
|
||||
obj = bld(features = 'subst')
|
||||
obj.source = 'ardour-lua.sh.in'
|
||||
obj.target = 'ardour' + str (bld.env['MAJOR']) + '-lua'
|
||||
obj.target = 'ardour' + bld.env['MAJOR'] + '-lua'
|
||||
obj.chmod = Utils.O755
|
||||
obj.install_path = bld.env['BINDIR']
|
||||
obj.LIBDIR = os.path.normpath(bld.env['DLLDIR'])
|
||||
|
|
@ -72,6 +72,6 @@ def build(bld):
|
|||
|
||||
if bld.env['build_target'] == 'mingw':
|
||||
obj.install_path = bld.env['BINDIR']
|
||||
obj.target = 'ardour' + str (bld.env['MAJOR']) + '-lua'
|
||||
obj.target = 'ardour' + bld.env['MAJOR'] + '-lua'
|
||||
else:
|
||||
obj.install_path = bld.env['DLLDIR']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue