OSDN Git Service

Fix dx to match the new SDK structure.
authorXavier Ducrohet <xav@android.com>
Tue, 26 Mar 2013 17:24:05 +0000 (10:24 -0700)
committerRaphael Moll <raphael@google.com>
Wed, 24 Apr 2013 22:02:43 +0000 (15:02 -0700)
(cherry picked from commit cb9dfa123c6fcc43be629666837c4e6f86b476ea)

Change-Id: I071d73adc4a2eb812cdbc204d27884f4a527043d

dx/etc/dx

index e5cedff..632af43 100644 (file)
--- a/dx/etc/dx
+++ b/dx/etc/dx
@@ -39,7 +39,7 @@ libdir="$progdir"
 
 if [ ! -r "$libdir/$jarfile" ]; then
     # set dx.jar location for the SDK case
-    libdir=`dirname "$progdir"`/platform-tools/lib
+    libdir="$libdir/lib"
 fi