I'd like to see lilypond exit with a non-zero status when it fails on a single file. It does exit properly when working on multiple files (looking at the source, not testing). I'd like to recommend the following change to lilypond.py (fresh from CVS). It just sets lilypond_error_p for any number of files. It works for me - I've patched my lilypond script (v2.2.0, but this section is the same in CVS).

I'm not on the mailing list, so reply directly (if there a different/better way to submit a bug/feature, let me know),
Simon Weatherill


$ cvs -z3 -d:ext:[EMAIL PROTECTED]:/cvsroot/lilypond diff
cvs diff: Diffing .
Index: lilypond.py
===================================================================
RCS file: /cvsroot/lilypond/lilypond/scripts/lilypond.py,v
retrieving revision 1.35
diff -r1.35 lilypond.py
250a251,252
>               global lilypond_error_p
>               lilypond_error_p = 1
257,258d258
<                       global lilypond_error_p
<                       lilypond_error_p = 1



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to