summaryrefslogtreecommitdiff
path: root/init-tools.cmd
diff options
context:
space:
mode:
authorwtgodbe <wigodbe@microsoft.com>2017-08-28 13:14:52 -0700
committerwtgodbe <wigodbe@microsoft.com>2017-10-10 17:31:48 -0700
commit978a6dc612e3ccbeb5222df24971f0ba70518aff (patch)
treefe2f8908d730ef4c29ccc271a0e5f1f76aba299b /init-tools.cmd
parent4c2e60f9fe57e1401410df9ee55dde673e11ff7e (diff)
downloadcoreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.tar.gz
coreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.tar.bz2
coreclr-978a6dc612e3ccbeb5222df24971f0ba70518aff.zip
Proof-of-concept of using new Publish infra in coreclr
Diffstat (limited to 'init-tools.cmd')
-rw-r--r--init-tools.cmd8
1 files changed, 4 insertions, 4 deletions
diff --git a/init-tools.cmd b/init-tools.cmd
index 5aa2ef5ecf..235f64532e 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -54,8 +54,8 @@ if NOT exist "%DOTNET_LOCAL_PATH%" (
if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore
echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
-echo 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 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" (
echo ERROR: Could not restore build tools correctly. 1>&2
goto :error
@@ -75,7 +75,7 @@ if not [%INIT_TOOLS_ERRORLEVEL%]==[0] (
:: Create semaphore file
echo Done initializing tools.
if NOT exist "%BUILD_TOOLS_SEMAPHORE_DIR%" (
- mkdir "%BUILD_TOOLS_SEMAPHORE_DIR%"
+ mkdir "%BUILD_TOOLS_SEMAPHORE_DIR%"
)
echo Init-Tools.cmd completed for BuildTools Version: %BUILDTOOLS_VERSION% > "%BUILD_TOOLS_SEMAPHORE%"
exit /b 0
@@ -83,4 +83,4 @@ exit /b 0
:error
echo Please check the detailed log that follows. 1>&2
type "%INIT_TOOLS_LOG%" 1>&2
-exit /b 1
+exit /b 1 \ No newline at end of file