diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-11-12 14:33:49 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-11-12 14:37:08 +0800 |
commit | d8276e9ad1bdc4f3209de6ab28eba0d61e69e3ee (patch) | |
tree | 4f839c01a8714dd2aa655ba919e1684b3be3eb7e | |
parent | 16c497d3d2ad780c0f54f864a1e8918ce83d5581 (diff) | |
download | ndk-d8276e9ad1bdc4f3209de6ab28eba0d61e69e3ee.tar.gz |
Fix ndk-build fails in cygwin if NDK package is referenced via symlink
Fix similar issue in ndk-gdb* as well.
Internal BUG ref 11445081
Change-Id: Ia6abb06d066de780be7090ba3aa20425f0cc5559
-rwxr-xr-x | ndk-build | 2 | ||||
-rwxr-xr-x | ndk-gdb | 2 | ||||
-rwxr-xr-x | ndk-gdb-py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -38,7 +38,7 @@ # ./ndk-build -C <project-path> # PROGDIR=`dirname $0` -PROGDIR=`cd $PROGDIR && pwd` +PROGDIR=`cd $PROGDIR && pwd -P` # Check if absolute NDK path contain space # @@ -25,7 +25,7 @@ # after doing ndk-build && ant install && <start-application-on-device> # PROGDIR=`dirname $0` -PROGDIR=`cd $PROGDIR && pwd` +PROGDIR=`cd $PROGDIR && pwd -P` # Check if absolute NDK path contain space # diff --git a/ndk-gdb-py b/ndk-gdb-py index 11643d450..b2001b822 100755 --- a/ndk-gdb-py +++ b/ndk-gdb-py @@ -1,7 +1,7 @@ #!/bin/sh PROGDIR=`dirname $0` -PROGDIR=`cd $PROGDIR && pwd` +PROGDIR=`cd $PROGDIR && pwd -P` # Check if absolute NDK path contain space # |