waf: git_submodule: fix for Waf 1.9

Tasks cwd must be Node objects in Waf 1.9
This commit is contained in:
Gustavo Jose de Sousa 2016-07-14 13:27:07 -03:00 committed by Lucas De Marchi
parent f579c3e6eb
commit 849a83315a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def git_submodule_update(self, name):
module_node = self.bld.srcnode.make_node(os.path.join('modules', name)) module_node = self.bld.srcnode.make_node(os.path.join('modules', name))
tsk = self.create_task('update_submodule', submodule=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() tsk.env.SUBMODULE_PATH = module_node.abspath()
_submodules_tasks[name] = tsk _submodules_tasks[name] = tsk