From: Raphael Moll Date: Wed, 29 Dec 2010 00:16:28 +0000 (-0800) Subject: Merge "Fix android.bat to properly cd to temp dir" in tools_r9. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=05729ca8c5fe9b538b238b4e330c7c7a92e7d193;p=android-x86%2Fsdk.git Merge "Fix android.bat to properly cd to temp dir" in tools_r9. 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: Ie89f77b92aaa1219f1b77aa8f8d4117e715d4533 --- diff --git a/sdkmanager/app/etc/android.bat b/sdkmanager/app/etc/android.bat index 738029ab3..6dffb3601 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