[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] lilypond -o other-dir/new-name
From: |
Nicolas Sceaux |
Subject: |
[patch] lilypond -o other-dir/new-name |
Date: |
Sun, 21 May 2006 15:30:53 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Hi,
Using LilyPond from CVS, when invoking lilypond with the -o option,
specifying an output directory *and* a alternate basename, the alternate
basename is disregarded.
$ lilypond -o out/lwv05-letter lwv05.ly
==> produces files out/lwv05.* iso. out/lwv05-letter.*
The following patch may fix this problem.
nicolas
Index: lily/lily-parser-scheme.cc
===================================================================
RCS file: /cvsroot/lilypond/lilypond/lily/lily-parser-scheme.cc,v
retrieving revision 1.28
diff -u -r1.28 lily-parser-scheme.cc
--- lily/lily-parser-scheme.cc 15 Apr 2006 07:12:33 -0000 1.28
+++ lily/lily-parser-scheme.cc 21 May 2006 13:23:58 -0000
@@ -79,6 +79,8 @@
message (_f ("Changing working directory to `%s'",
dir.c_str ()));
chdir (dir.c_str ());
+ out_file_name = File_name (output_name_global);
+ out_file_name.dir_ = "";
}
else
out_file_name = File_name (output_name_global);
- [patch] lilypond -o other-dir/new-name,
Nicolas Sceaux <=