[LyX/master] Avoid call of lilypond-book as python script if not on Windows
Stephan Witt
switt at lyx.org
Mon Jan 29 05:31:17 UTC 2024
commit 3be3183eea8e92d78fa6c834cf67a992b75eead4
Author: Stephan Witt <switt at lyx.org>
Date: Mon Jan 29 07:59:48 2024 +0100
Avoid call of lilypond-book as python script if not on Windows
---
lib/configure.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/lib/configure.py b/lib/configure.py
index 9dd69c3..80cc787 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.')
#
More information about the lyx-cvs
mailing list