diff options
author | Elinor Fung <47805090+elinor-fung@users.noreply.github.com> | 2019-05-30 14:58:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 14:58:09 -0700 |
commit | fa8383fb28be945cae900a5579afd5920f274fd4 (patch) | |
tree | 43db252786cea19fa8515c9e2e5fa81127ec82b5 /init-tools.cmd | |
parent | 7e17986ff71a70ba328895e0b99e1de83d1bf5b5 (diff) | |
download | coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.tar.gz coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.tar.bz2 coreclr-fa8383fb28be945cae900a5579afd5920f274fd4.zip |
Remove BuildTools from product build (#24841)
* Remove BuildTools imports from product build
* Split scripts for installing dotnet vs BuildTools
Diffstat (limited to 'init-tools.cmd')
-rw-r--r-- | init-tools.cmd | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/init-tools.cmd b/init-tools.cmd index 4390b2637a..32634ece12 100644 --- a/init-tools.cmd +++ b/init-tools.cmd @@ -71,11 +71,8 @@ echo "init-tools.cmd: Setting arch to %_Arch% for build tools" :ArchSet -echo Installing dotnet cli... -set PS_DOTNET_INSTALL_SCRIPT=". %~dp0eng\configure-toolset.ps1; . %~dp0eng\common\tools.ps1; InitializeBuildTool" if NOT exist "%DOTNET_CMD%" ( - echo running: powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% - powershell -NoProfile -ExecutionPolicy unrestricted -Command %PS_DOTNET_INSTALL_SCRIPT% + call %~dp0init-dotnet.cmd if NOT exist "%DOTNET_CMD%" ( echo ERROR: Could not install dotnet cli correctly. 1>&2 goto :error |