From: Reinhold Kainhofer Date: Sun, 29 Aug 2010 19:40:01 +0000 (+0200) Subject: Lilypond-book: Add a comment for a bug fix X-Git-Tag: release/2.13.32-1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e739853dc4b996f8b4c9f5dc8db2282b303dea8;p=lilypond.git Lilypond-book: Add a comment for a bug fix --- 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)