summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-22 17:42:35 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-22 17:42:35 (GMT)
commit4e9fae436fc971e3cbdb19d2f0517a636bb6648b (patch)
treedbe69fc2c04bfc72edc266322967286fe059b634 /src/engine/SCons/Executor.py
parenteed44d1a631844c0bdaf524078a0bed587b7c965 (diff)
downloadSCons-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.py8
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