]> git.lyx.org Git - features.git/commitdiff
Avoid call of lilypond-book as python script if not on Windows
authorStephan Witt <switt@lyx.org>
Mon, 29 Jan 2024 06:59:48 +0000 (07:59 +0100)
committerStephan Witt <switt@lyx.org>
Mon, 29 Jan 2024 06:59:48 +0000 (07:59 +0100)
lib/configure.py

index 9dd69c3cf805fd3b344dc59d3d2f341f0b8a69c8..80cc78723000125aad4190be185aa32bbaa9f83f 100644 (file)
@@ -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.')
     #