summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herman <davidherman@google.com>2015-08-04 16:27:55 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-08-04 16:27:55 +0000
commitd103bd9ac106eb97a1ee7ac946b4584eec95a8e8 (patch)
tree85690ac8afbd33f26ea234825b29f7e87631c7b8
parent059b97955e180f5075ee1a3902f27e57f722f20e (diff)
parent43e189a47b675a0898163746a3649895f17ac70b (diff)
downloadswt-d103bd9ac106eb97a1ee7ac946b4584eec95a8e8.tar.gz
Merge "Quote xcopy arguments to fix "Invalid number of parameters" error" into studio-1.4-dev automerge: 98c9983
automerge: 43e189a * commit '43e189a47b675a0898163746a3649895f17ac70b': Quote xcopy arguments to fix "Invalid number of parameters" error
-rwxr-xr-xsdkmanager/app/etc/android.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdkmanager/app/etc/android.bat b/sdkmanager/app/etc/android.bat
index 767e4d5..8690b77 100755
--- a/sdkmanager/app/etc/android.bat
+++ b/sdkmanager/app/etc/android.bat
@@ -47,7 +47,7 @@ for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=
rem This avoids locking the tool dir in case the user is trying to update it.
set tmp_dir=%TEMP%\temp-android-tool
- xcopy %swt_path% %tmp_dir%\%swt_path% /I /E /C /G /R /Y /Q > nul
+ xcopy "%swt_path%" "%tmp_dir%\%swt_path%" /I /E /C /G /R /Y /Q > nul
copy /B /D /Y lib\common.jar %tmp_dir%\lib\ > nul
copy /B /D /Y lib\commons-codec* %tmp_dir%\lib\ > nul
copy /B /D /Y lib\commons-compress* %tmp_dir%\lib\ > nul
@@ -65,7 +65,7 @@ for /f "delims=" %%a in ('"%java_exe%" -jar lib\archquery.jar') do set swt_path=
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 /d %tmp_dir%
+ cd /d "%tmp_dir%"
:EndTempCopy