From 3be3183eea8e92d78fa6c834cf67a992b75eead4 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Mon, 29 Jan 2024 07:59:48 +0100 Subject: [PATCH] Avoid call of lilypond-book as python script if not on Windows --- lib/configure.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/configure.py b/lib/configure.py index 9dd69c3cf8..80cc787230 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1377,6 +1377,13 @@ def checkConverterEntries(): break else: logger.info('+ found LilyPond-book, but version %s is too old.' % version_number) + else: + logger.info('+ found LilyPond book, but version string does not match: %s' % version_string) + + # If not on Windows, skip the check as argument to python. + if os.name != 'nt': + break + if not found_lilypond_book: logger.info('+ found LilyPond-book, but could not extract version number.') # -- 2.39.5