From: Han-Wen Nienhuys Date: Fri, 18 Jun 2004 23:24:51 +0000 (+0000) Subject: (make_include_option): set lilypond_error_p. X-Git-Tag: release/2.2.3~2 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=e321aca6c0f410b3c6592da080ecc539454c042b;p=lilypond.git (make_include_option): set lilypond_error_p. --- diff --git a/ChangeLog b/ChangeLog index e6f65b5ce5..5ee6d7f2c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-06-19 Han-Wen Nienhuys + * scripts/lilypond.py (make_include_option): set lilypond_error_p. + * lily/bar-line.cc (compound_barline): backport ||: fix. 2004-06-12 Han-Wen Nienhuys diff --git a/scripts/lilypond.py b/scripts/lilypond.py index 4eea415568..fb71ee72d4 100644 --- a/scripts/lilypond.py +++ b/scripts/lilypond.py @@ -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