summaryrefslogtreecommitdiffstats
path: root/TaskGen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:23:45 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 17:24:02 +0100
commite7a29b6b9b2f842314244c23c14d8f8f560904e1 (patch)
treed2dcbaf61f3749f73dc7a5e10d3fc6cd5e6e129a /TaskGen.py
parent8280f9de69f93624896b8875caf039066cac0314 (diff)
downloadautowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.tar.gz
autowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.tar.bz2
autowaf-e7a29b6b9b2f842314244c23c14d8f8f560904e1.zip
Upgrade to waf 2.0.15
Diffstat (limited to 'TaskGen.py')
-rw-r--r--TaskGen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TaskGen.py b/TaskGen.py
index a74e643..532b7d5 100644
--- a/TaskGen.py
+++ b/TaskGen.py
@@ -74,7 +74,7 @@ class task_gen(object):
else:
self.bld = kw['bld']
self.env = self.bld.env.derive()
- self.path = self.bld.path # emulate chdir when reading scripts
+ self.path = kw.get('path', self.bld.path) # by default, emulate chdir when reading scripts
# Provide a unique index per folder
# This is part of a measure to prevent output file name collisions
@@ -727,7 +727,7 @@ def sequence_order(self):
self.bld.prev = self
-re_m4 = re.compile('@(\w+)@', re.M)
+re_m4 = re.compile(r'@(\w+)@', re.M)
class subst_pc(Task.Task):
"""