From 962d8922abaf455f46c9cbcd6673a87b717965bf Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 15 Nov 2020 01:21:40 +0100 Subject: [PATCH] Enforce session-util app name This fixes an issue with some macOS that create index oe meta-data files e.g. `session_utils/._export.cc`. Besides that it increases consistency. --- session_utils/README | 5 +++-- session_utils/wscript | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/session_utils/README b/session_utils/README index 1fa563acc0..cbe5c44e91 100644 --- a/session_utils/README +++ b/session_utils/README @@ -22,8 +22,9 @@ One C++ source per tool, see "example.cc" and "export.cc" ./waf The tool is automatically compiled and deployed when installing, using the -program-name as prefix. e.g. "export.cc" becomes "ardour4-export". -(or "mixbus3-export", depending on the project configuration) +program-name as prefix. e.g. "export.cc" becomes "ardour4-export" +(or "mixbus3-export", depending on the project configuration). +Tool names must start with lower-case alphabetic letter [a-z]. Test run from the source diff --git a/session_utils/wscript b/session_utils/wscript index 753b8ea8ab..7e20cb1d8b 100644 --- a/session_utils/wscript +++ b/session_utils/wscript @@ -85,7 +85,7 @@ def build(bld): pgmprefix = bld.env['PROGRAM_NAME'].lower() + str(bld.env['MAJOR']) - utils = bld.path.ant_glob('*.cc', excl=['example.cc', 'common.cc']) + utils = bld.path.ant_glob('[a-z]*.cc', excl=['example.cc', 'common.cc']) for util in utils: fn = os.path.splitext(os.path.basename(str(util)))[0]