diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:31:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 18:14:27 +0100 |
commit | a26e6c73275d07c4f7bf80745ce26eb7aa8d941a (patch) | |
tree | e8d433fff41983c96ed15b631e84f71cc0e8cae2 /waflib/TaskGen.py | |
parent | b69a38d171758c6e979d74541fc21d12b7e6abda (diff) | |
parent | 8798f33f1a7f0ed33a847b23ea5f8cbc63bb294b (diff) | |
download | patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.gz patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.bz2 patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.zip |
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/TaskGen.py')
-rw-r--r-- | waflib/TaskGen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/waflib/TaskGen.py b/waflib/TaskGen.py index a74e643..532b7d5 100644 --- a/waflib/TaskGen.py +++ b/waflib/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): """ |