]> git.donarmstrong.com Git - lilypond.git/commitdiff
Lilypond-book: Add a comment for a bug fix
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 29 Aug 2010 19:40:01 +0000 (21:40 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 29 Aug 2010 19:40:07 +0000 (21:40 +0200)
scripts/lilypond-book.py

index 79ec2ababbf3a4223478a238c19571d1dd013356..832cea0c6292ad1f77a79f2d6dda7337ab39d3f3 100644 (file)
@@ -496,6 +496,9 @@ def do_file (input_filename, included=False):
         else:
             input_fullname = global_options.formatter.input_fullname (input_filename)
         # Normalize path to absolute path, since we will change cwd to the output dir!
+        # Otherwise, "lilypond-book -o out test.tex" will complain that it is
+        # overwriting the input file (which it is actually not), since the
+        # input filename is relative to the CWD...
         input_fullname = os.path.abspath (input_fullname)
 
         note_input_file (input_fullname)