From bd1025e4b603655a239b15bcc93d817cb1caec8d Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Tue, 23 Feb 2016 12:50:19 -0800 Subject: Correctly cleaning up the ToolRuntime folder once a new version is required --- init-tools.cmd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init-tools.cmd') 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%" -- cgit v1.2.3