diff options
author | Raphael Moll <ralf@android.com> | 2010-12-28 16:16:28 -0800 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2010-12-28 16:16:28 -0800 |
commit | bd9a80ae7e62684d280d31a35c9861d8894f5457 (patch) | |
tree | 42a8ee5a0eb18ead15d4362cdbb9e24561f652ab | |
parent | e44238e8fc8f77b313d8d7a647ed28e29f887a6a (diff) | |
download | sdk-bd9a80ae7e62684d280d31a35c9861d8894f5457.zip sdk-bd9a80ae7e62684d280d31a35c9861d8894f5457.tar.gz sdk-bd9a80ae7e62684d280d31a35c9861d8894f5457.tar.bz2 |
Fix android.bat to properly cd to temp dir.
Fixes an issue when the SDK is not on the same drive
than the temp dir that android.bat uses.
Reported on http://code.google.com/p/android/issues/detail?id=4410
Change-Id: I993ea550056bda2c696c28bfa135aa186aad7a05
-rwxr-xr-x | sdkmanager/app/etc/android.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdkmanager/app/etc/android.bat b/sdkmanager/app/etc/android.bat index 738029a..6dffb36 100755 --- a/sdkmanager/app/etc/android.bat +++ b/sdkmanager/app/etc/android.bat @@ -62,7 +62,7 @@ if not "%1"=="" goto EndTempCopy rem jar_path and swt_path are relative to PWD so we don't need to adjust them, just change dirs.
set tools_dir=%cd%
- cd %tmp_dir%
+ cd /d %tmp_dir%
:EndTempCopy
|