summaryrefslogtreecommitdiff
path: root/init-tools.cmd
diff options
context:
space:
mode:
authorChad Nedzlek <chadnedz@microsoft.com>2017-12-18 11:29:41 -0800
committerChad Nedzlek <chadnedz@microsoft.com>2017-12-18 11:29:41 -0800
commit437cb180b61683fc8834b5a2c82c80067f51331e (patch)
tree86576a2d6cd853b452021fe3fe820d38a199554c /init-tools.cmd
parent46dc37a27abe79d5977a1942541b1665b61f7a17 (diff)
downloadcoreclr-437cb180b61683fc8834b5a2c82c80067f51331e.tar.gz
coreclr-437cb180b61683fc8834b5a2c82c80067f51331e.tar.bz2
coreclr-437cb180b61683fc8834b5a2c82c80067f51331e.zip
Put ToolDir property back on restore command
Diffstat (limited to 'init-tools.cmd')
-rw-r--r--init-tools.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-tools.cmd b/init-tools.cmd
index 7e77566199..a5750290c4 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -62,8 +62,8 @@ if NOT exist "%DOTNET_LOCAL_PATH%" (
if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore
echo %__MsgPrefix%Restoring BuildTools version %BUILDTOOLS_VERSION%...
-echo %__MsgPrefix%Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% >> "%INIT_TOOLS_LOG%"
-call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% >> "%INIT_TOOLS_LOG%"
+echo %__MsgPrefix%Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
+call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
%__MsgPrefix%echo ERROR: Could not restore build tools correctly. 1>&2
goto :error