OSDN Git Service

Fix dx.bat to match the new SDK structure.
authorRaphael Moll <raphael@google.com>
Wed, 24 Apr 2013 22:02:13 +0000 (15:02 -0700)
committerRaphael Moll <raphael@google.com>
Wed, 24 Apr 2013 22:02:13 +0000 (15:02 -0700)
Change-Id: I2c125bb40c7c64e010642274b482733c52b5c11e

dx/etc/dx.bat

index ac14fe6..6f588c4 100755 (executable)
@@ -28,7 +28,8 @@ cd /d %~dp0
 \r
 rem Check we have a valid Java.exe in the path.\r
 set java_exe=\r
-call ..\tools\lib\find_java.bat\r
+if exist    ..\tools\lib\find_java.bat call    ..\tools\lib\find_java.bat\r
+if exist ..\..\tools\lib\find_java.bat call ..\..\tools\lib\find_java.bat\r
 if not defined java_exe goto :EOF\r
 \r
 set jarfile=dx.jar\r