Avoid call of lilypond-book as python script if not on Windows

This commit is contained in:
Stephan Witt 2024-01-29 07:59:48 +01:00
parent ad6aa8ba4b
commit 3be3183eea

View File

@ -1377,6 +1377,13 @@ def checkConverterEntries():
break break
else: else:
logger.info('+ found LilyPond-book, but version %s is too old.' % version_number) 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: if not found_lilypond_book:
logger.info('+ found LilyPond-book, but could not extract version number.') logger.info('+ found LilyPond-book, but could not extract version number.')
# #