summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/gyp/gyptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gyp/gyptest.py b/tools/gyp/gyptest.py
index 9930e78c7b..1a9ffca7a1 100755
--- a/tools/gyp/gyptest.py
+++ b/tools/gyp/gyptest.py
@@ -58,7 +58,7 @@ def main(argv=None):
os.chdir(args.chdir)
if args.path:
- extra_path = [os.path.abspath(p) for p in opts.path]
+ extra_path = [os.path.abspath(p) for p in args.path]
extra_path = os.pathsep.join(extra_path)
os.environ['PATH'] = extra_path + os.pathsep + os.environ['PATH']