diff options
author | David Herman <davidherman@google.com> | 2015-08-04 16:27:55 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-08-04 16:27:55 +0000 |
commit | d103bd9ac106eb97a1ee7ac946b4584eec95a8e8 (patch) | |
tree | 85690ac8afbd33f26ea234825b29f7e87631c7b8 | |
parent | 059b97955e180f5075ee1a3902f27e57f722f20e (diff) | |
parent | 43e189a47b675a0898163746a3649895f17ac70b (diff) | |
download | swt-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-x | sdkmanager/app/etc/android.bat | 4 |
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
|