diff options
author | Jose Perez Rodriguez <joperezr@microsoft.com> | 2016-02-23 12:50:19 -0800 |
---|---|---|
committer | Jose Perez Rodriguez <joperezr@microsoft.com> | 2016-02-23 12:50:19 -0800 |
commit | bd1025e4b603655a239b15bcc93d817cb1caec8d (patch) | |
tree | cacc987fd59a013dc8c4ca814fbdfd962d003f09 /init-tools.cmd | |
parent | e9fa953a295d16b7e00e9192b4973743398358e9 (diff) | |
download | coreclr-bd1025e4b603655a239b15bcc93d817cb1caec8d.tar.gz coreclr-bd1025e4b603655a239b15bcc93d817cb1caec8d.tar.bz2 coreclr-bd1025e4b603655a239b15bcc93d817cb1caec8d.zip |
Correctly cleaning up the ToolRuntime folder once a new version is required
Diffstat (limited to 'init-tools.cmd')
-rw-r--r-- | init-tools.cmd | 2 |
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%" |