OSDN Git Service

dx.bat: Don't change directory.
authorRay Donnelly <mingw.android@gmail.com>
Fri, 3 May 2013 00:41:36 +0000 (01:41 +0100)
committerRay Donnelly <mingw.android@gmail.com>
Sun, 28 Jul 2013 22:20:49 +0000 (22:20 +0000)
commitc8a65232aab315fc83c970b0e5bd3e48ddc2d192
tree245a5bd2da2b66b83f64b1e12b2a980563545386
parentbeeeb78893dded91597a82b6dd9a7e4960f7549b
dx.bat: Don't change directory.

Changing directory to that of dx.bat prevents dx.bat from being
used with relative directories. This leads to all sorts of
issues integrating it with build systems that expect this to
work.

I've tested that this change works under the following conditions:
1. Android SDK in a path containing spaces.
2. java.exe in a path containing spaces.
3. Java object files in a path containing spaces.
4. Output jar file in a path containing spaces.
5. Java object files specified with relative paths.
6. Java object files specified with absolute paths.
7. Output jar file specified with relative paths.
8. Output jar file specified with absolute paths.

Change-Id: I1b47a6cc73169607cc6238acf197e3b467c9bcbc
dx/etc/dx.bat