diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2013-08-11 00:35:00 +0100 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2013-08-11 00:35:00 +0100 |
commit | 0a9da1b9be8ebe50c7772249fa4e2baaaf4372b5 (patch) | |
tree | 514d4f9230f0b18eae3b4bdd298bfab8676daedd /ndk-gdb.py | |
parent | 0ff95f4b0c576971f5079c9976e1f98f629aca6d (diff) | |
download | ndk-0a9da1b9be8ebe50c7772249fa4e2baaaf4372b5.tar.gz |
ndk-gdb.py: Handle quoted paths in find_program
The quotes in os.environ['PATH'] need to be removed
otherwise executables are not found.
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-x | ndk-gdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py index 25e905d29..82a833967 100755 --- a/ndk-gdb.py +++ b/ndk-gdb.py @@ -39,7 +39,7 @@ except ImportError: def find_program(program, extra_paths = []): ''' extra_paths are searched before PATH ''' - PATHS = extra_paths+os.environ['PATH'].split(os.pathsep) + PATHS = extra_paths+os.environ['PATH'].replace('"','').split(os.pathsep) exts = [''] if sys.platform.startswith('win'): exts += ['.exe', '.bat', '.cmd'] |