diff options
author | Steven Knight <knight@baldmt.com> | 2003-01-05 13:11:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-01-05 13:11:27 (GMT) |
commit | 51974ccdc1ee8340c54f8fa02670c554d20ef157 (patch) | |
tree | 78aeb47be219e4ad28483e7d57855ef9e72ef411 /src | |
parent | d88f61db921461663b934595e38a15e2ca09c225 (diff) | |
download | SCons-51974ccdc1ee8340c54f8fa02670c554d20ef157.zip SCons-51974ccdc1ee8340c54f8fa02670c554d20ef157.tar.gz SCons-51974ccdc1ee8340c54f8fa02670c554d20ef157.tar.bz2 |
Fix problems returning the appropriate exit status on build errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/CHANGES.txt | 3 | ||||
-rw-r--r-- | src/engine/SCons/Script/__init__.py | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt index b9c6324..7cb4eb9 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -28,6 +28,9 @@ RELEASE 0.10 - XXX - Don't create duplicate source files in a BuildDir when the -n option is used. + - Fix SCons not exiting with the appropriate status on build errors + (and probably in other situations). + From Steve Leblanc: - Add a Clean() method to support removing user-specified targets diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py index 093b82c..93f4795 100644 --- a/src/engine/SCons/Script/__init__.py +++ b/src/engine/SCons/Script/__init__.py @@ -88,6 +88,7 @@ class BuildTask(SCons.Taskmaster.Task): print "Command execution time: %f seconds"%(finish_time-start_time) def do_failed(self): + global exit_status if ignore_errors: SCons.Taskmaster.Task.executed(self) elif keep_going_on_error: |