From 6382f1768a6bd1cda484737f7d59cde03bb5023c Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 2 Oct 2015 15:58:05 -0700 Subject: [PATCH] Make gdbclient.py work in directories other than the root. Change-Id: I8e383052e15f41919c7107bf960092120d2c621c --- scripts/gdbclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gdbclient.py b/scripts/gdbclient.py index 4b7de2d01..df924eb39 100755 --- a/scripts/gdbclient.py +++ b/scripts/gdbclient.py @@ -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]