Chromium Code Reviews| Index: gyptest.py |
| diff --git a/gyptest.py b/gyptest.py |
| index c84f3d3306cee987e3f066d4376b8a390c7adc46..6c6b00944fe737d3f0b27ed2c3cf1edc5d79a53e 100755 |
| --- a/gyptest.py |
| +++ b/gyptest.py |
| @@ -171,7 +171,9 @@ def main(argv=None): |
| os.chdir(opts.chdir) |
| if opts.path: |
| - os.environ['PATH'] += ':' + ':'.join(opts.path) |
| + extra_path = [os.path.abspath(p) for p in opts.path] |
| + extra_path = os.pathsep.join(extra_path) |
| + os.environ['PATH'] += os.pathsep + extra_path |
| if not args: |
| if not opts.all: |