From: Stephan Witt Date: Mon, 29 Jan 2024 06:59:48 +0000 (+0100) Subject: Avoid call of lilypond-book as python script if not on Windows X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3be3183eea8e92d78fa6c834cf67a992b75eead4;p=features.git Avoid call of lilypond-book as python script if not on Windows --- 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.') #