From 849a83315a5a94ea2a7327213b1d6ed98dddc2af Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Thu, 14 Jul 2016 13:27:07 -0300 Subject: [PATCH] waf: git_submodule: fix for Waf 1.9 Tasks cwd must be Node objects in Waf 1.9 --- Tools/ardupilotwaf/git_submodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/git_submodule.py b/Tools/ardupilotwaf/git_submodule.py index af452326f8..218656a278 100644 --- a/Tools/ardupilotwaf/git_submodule.py +++ b/Tools/ardupilotwaf/git_submodule.py @@ -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