diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-22 17:42:35 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-22 17:42:35 (GMT) |
commit | 4e9fae436fc971e3cbdb19d2f0517a636bb6648b (patch) | |
tree | dbe69fc2c04bfc72edc266322967286fe059b634 /src/engine/SCons/Executor.py | |
parent | eed44d1a631844c0bdaf524078a0bed587b7c965 (diff) | |
download | SCons-4e9fae436fc971e3cbdb19d2f0517a636bb6648b.zip SCons-4e9fae436fc971e3cbdb19d2f0517a636bb6648b.tar.gz SCons-4e9fae436fc971e3cbdb19d2f0517a636bb6648b.tar.bz2 |
Fix the execute-Mkdir-once patch so that it doesn't treat the directory as up-to-date just because it's been made, but still builds all of its children.
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r-- | src/engine/SCons/Executor.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py index 47a72de..6767cc8 100644 --- a/src/engine/SCons/Executor.py +++ b/src/engine/SCons/Executor.py @@ -105,6 +105,9 @@ class Executor: except AttributeError: return al + def do_nothing(self, target, errfunc, **kw): + pass + def __call__(self, target, errfunc, **kw): """Actually execute the action list.""" action_list = self.get_action_list(target) @@ -159,6 +162,11 @@ class Executor: build_env) return self._strfunc + def nullify(self): + self.__call__ = self.do_nothing + self.string = None + self._strfunc = None + def get_raw_contents(self): """Fetch the raw signature contents. This, along with get_contents(), is the real reason this class exists, so we can |