diff options
author | Josh Gao <jmgao@google.com> | 2015-09-08 13:11:08 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2015-09-08 13:11:08 -0700 |
commit | 63716c10842aa6fce722e785fd282fe547fc167a (patch) | |
tree | 4402330b931303816c7ae53c62d6f5ad106b5252 /ndk-gdb.py | |
parent | f9379f0bb1f0248047645f5417e762dd664e7033 (diff) | |
download | ndk-63716c10842aa6fce722e785fd282fe547fc167a.tar.gz |
Expand tilde in ndk-gdb.py project path argument.
Bug: http://b/23899431
Change-Id: I9ff4b38ae5c4c03467ecc61aebda5fdcc9ae8608
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-x | ndk-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py index b6b58ed43..e206dcdc1 100755 --- a/ndk-gdb.py +++ b/ndk-gdb.py @@ -546,6 +546,7 @@ def main(): log('ADB version found: %s' % (ADB_VERSION)) log('Using ADB flags: %s' % (ADB_FLAGS)) if PROJECT != None: + PROJECT = os.path.expanduser(PROJECT) log('Using specified project path: %s' % (PROJECT)) if not os.path.isdir(PROJECT): error('Your --project option does not point to a directory!') |