From 12c4471b6b0343ee385a01ef6ba23d22a6feab2d Mon Sep 17 00:00:00 2001
From: Julien Rioux <jrioux@physics.utoronto.ca>
Date: Fri, 9 Sep 2011 05:13:18 -0400
Subject: [PATCH] Fix issue #1815: lilypond-book fails on Windows

The path separator was hardcoded to the forward slash '/'.
Use os.path.join instead, fixing this in a portable way.
---
 python/book_snippets.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/book_snippets.py b/python/book_snippets.py
index cbf09a7a28..f128ac16ff 100644
--- a/python/book_snippets.py
+++ b/python/book_snippets.py
@@ -580,7 +580,7 @@ left-margin-default right-margin-default)"
 
     def basename (self):
         cs = self.get_checksum ()
-        name = '%s/lily-%s' % (cs[:2], cs[2:])
+        name = os.path.join (cs[:2], 'lily-%s' % cs[2:])
         return name
 
     final_basename = basename
-- 
2.39.5