File tree 1 file changed +4
-1
lines changed 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ if [%BUILDTOOLS_SOURCE%]==[] set BUILDTOOLS_SOURCE=https://dotnet.myget.org/F/do
10
10
set /P BUILDTOOLS_VERSION = < " %~dp0 BuildToolsVersion.txt"
11
11
set BUILD_TOOLS_PATH = %PACKAGES_DIR% Microsoft.DotNet.BuildTools\%BUILDTOOLS_VERSION% \lib\
12
12
set INIT_TOOLS_RESTORE_PROJECT = %~dp0 init-tools.msbuild
13
- set BUILD_TOOLS_SEMAPHORE = %TOOLRUNTIME_DIR% \%BUILDTOOLS_VERSION% \init-tools.completed
13
+ set BUILD_TOOLS_SEMAPHORE_DIR = %TOOLRUNTIME_DIR% \%BUILDTOOLS_VERSION%
14
+ set BUILD_TOOLS_SEMAPHORE = %BUILD_TOOLS_SEMAPHORE_DIR% \init-tools.completed
14
15
15
16
:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
16
17
if [%1 ]== [force] (
@@ -26,6 +27,8 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
26
27
27
28
if exist " %TOOLRUNTIME_DIR% " rmdir /S /Q " %TOOLRUNTIME_DIR% "
28
29
30
+ if NOT exist " %BUILD_TOOLS_SEMAPHORE_DIR% " mkdir " %BUILD_TOOLS_SEMAPHORE_DIR% "
31
+
29
32
if exist " %DotNetBuildToolsDir% " (
30
33
echo Using tools from '%DotNetBuildToolsDir% '.
31
34
mklink /j " %TOOLRUNTIME_DIR% " " %DotNetBuildToolsDir% "
You can’t perform that action at this time.
0 commit comments