Make gdbclient.py work in directories other than the root.

Change-Id: I8e383052e15f41919c7107bf960092120d2c621c
This commit is contained in:
Josh Gao
2015-10-02 15:58:05 -07:00
parent 9c2057ab43
commit 6382f1768a

View File

@@ -65,7 +65,7 @@ def dump_var(root, variable):
"{}/build/core/config.mk".format(root),
"dumpvar-{}".format(variable)]
make_output = subprocess.check_output(make_args)
make_output = subprocess.check_output(make_args, cwd=root)
return make_output.splitlines()[0]