mirror of https://github.com/ArduPilot/ardupilot
waf: git_submodule: fix for Waf 1.9
Tasks cwd must be Node objects in Waf 1.9
This commit is contained in:
parent
f579c3e6eb
commit
849a83315a
|
@ -80,7 +80,7 @@ def git_submodule_update(self, name):
|
|||
module_node = self.bld.srcnode.make_node(os.path.join('modules', name))
|
||||
|
||||
tsk = self.create_task('update_submodule', submodule=name)
|
||||
tsk.cwd = self.bld.srcnode.abspath()
|
||||
tsk.cwd = self.bld.srcnode
|
||||
tsk.env.SUBMODULE_PATH = module_node.abspath()
|
||||
|
||||
_submodules_tasks[name] = tsk
|
||||
|
|
Loading…
Reference in New Issue