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);
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to