summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init-tools.cmd2
1 files changed, 2 insertions, 0 deletions
diff --git a/init-tools.cmd b/init-tools.cmd
index ce1a34ef61..0d41e3b006 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -29,6 +29,8 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
goto :EOF
)
+if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
+
:: Download Nuget.exe
if NOT exist "%PACKAGES_DIR%NuGet.exe" (
if NOT exist "%PACKAGES_DIR%" mkdir "%PACKAGES_DIR%"