From 6e739853dc4b996f8b4c9f5dc8db2282b303dea8 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sun, 29 Aug 2010 21:40:01 +0200 Subject: [PATCH] Lilypond-book: Add a comment for a bug fix --- scripts/lilypond-book.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 79ec2ababb..832cea0c62 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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) -- 2.39.2