]> git.donarmstrong.com Git - lilypond.git/commitdiff
(make_include_option): set lilypond_error_p.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 18 Jun 2004 23:24:51 +0000 (23:24 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 18 Jun 2004 23:24:51 +0000 (23:24 +0000)
ChangeLog
scripts/lilypond.py

index e6f65b5ce5bcfd1d2d6cd54b7fdea2786077da85..5ee6d7f2c279cc3340d620c82120979133d3d128 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-06-19  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * scripts/lilypond.py (make_include_option): set lilypond_error_p.
+
        * lily/bar-line.cc (compound_barline): backport ||: fix.
 
 2004-06-12  Han-Wen Nienhuys   <hanwen@xs4all.nl>
index 4eea41556865398abc2f5f4b45ea2a5e7ced4429..fb71ee72d43263652cb260c5ff408f8bce8ba592 100644 (file)
@@ -288,14 +288,15 @@ def run_lilypond (files, dep_prefix):
                ly.exit (status)
                        
        if status:
+               global lilypond_error_p
                sys.stderr.write ('\n')
                if len (files) == 1:
                        ly.error (_ ("LilyPond failed on input file %s (exit status %d)") % (files[0], exit_status))
+                       lilypond_error_p = 1
                        ly.exit (status)
                else:
                        ly.error (_ ("LilyPond failed on an input file (exit status %d)") % exit_status)
                        ly.error (_ ("Continuing..."))
-                       global lilypond_error_p
                        lilypond_error_p = 1