From 2e9ac80e998bc79d5ef9029415008198b22168dc Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 20 Jan 2020 23:08:11 +0100 Subject: Towards waf python 2+3 support --- session_utils/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session_utils/wscript') diff --git a/session_utils/wscript b/session_utils/wscript index 0cd3c106ff..8e5dc449be 100644 --- a/session_utils/wscript +++ b/session_utils/wscript @@ -86,7 +86,7 @@ def build(bld): utils = bld.path.ant_glob('*.cc', excl=['example.cc', 'common.cc']) for util in utils: - fn = str(util)[:-3] + fn = os.path.splitext(os.path.basename(str(util)))[0] build_ardour_util(bld, fn) if bld.env['build_target'] != 'mingw': bld.symlink_as(bld.env['BINDIR'] + '/' + pgmprefix + "-" + fn, bld.env['LIBDIR'] + '/utils/ardour-util.sh') -- cgit v1.2.3