summaryrefslogtreecommitdiff
path: root/init-tools.sh
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.sh
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.sh')
-rwxr-xr-xinit-tools.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/init-tools.sh b/init-tools.sh
index f7f5cba790..00b096199e 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -119,8 +119,8 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then
else
if [ ! -e $__BUILD_TOOLS_PATH ]; then
echo "Restoring BuildTools version $__BUILD_TOOLS_PACKAGE_VERSION..."
- echo "Running: $__DOTNET_CMD restore \"$__INIT_TOOLS_RESTORE_PROJECT\" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION" >> $__init_tools_log
- $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION >> $__init_tools_log
+ echo "Running: $__DOTNET_CMD restore \"$__INIT_TOOLS_RESTORE_PROJECT\" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION /p:ToolsDir=$__TOOLRUNTIME_DIR" >> $__init_tools_log
+ $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION /p:ToolsDir=$__TOOLRUNTIME_DIR >> $__init_tools_log
if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then
echo "ERROR: Could not restore build tools correctly." 1>&2
display_error_message
@@ -153,4 +153,4 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then
echo "Done initializing tools."
else
echo "Tools are already initialized"
-fi
+fi \ No newline at end of file