|
@@ -13,7 +13,9 @@ setlocal
|
|
IF "%~nx0"=="update_depot_tools.bat" (
|
|
IF "%~nx0"=="update_depot_tools.bat" (
|
|
COPY /Y "%~dp0update_depot_tools.bat" "%TEMP%\update_depot_tools_tmp.bat" >nul
|
|
COPY /Y "%~dp0update_depot_tools.bat" "%TEMP%\update_depot_tools_tmp.bat" >nul
|
|
if errorlevel 1 goto :EOF
|
|
if errorlevel 1 goto :EOF
|
|
- "%TEMP%\update_depot_tools_tmp.bat" "%~dp0" %*
|
|
|
|
|
|
+ REM Use call/exit to avoid leaving an orphaned window title.
|
|
|
|
+ call "%TEMP%\update_depot_tools_tmp.bat" "%~dp0" %*
|
|
|
|
+ exit /b
|
|
)
|
|
)
|
|
|
|
|
|
set DEPOT_TOOLS_DIR=%~1
|
|
set DEPOT_TOOLS_DIR=%~1
|