summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
authorJohn Chen <jochen@microsoft.com>2016-01-24 21:47:58 -0800
committerJohn Chen <jochen@microsoft.com>2016-01-24 21:47:58 -0800
commita6c65d50b68689065befe31bed3fcd7dabc712db (patch)
treecdc9deb98cbd56c3f3c633a81dfe9686149fe281 /init-tools.sh
parent3079b400e3519b0007338c021886f24b1705e64d (diff)
downloadcoreclr-a6c65d50b68689065befe31bed3fcd7dabc712db.tar.gz
coreclr-a6c65d50b68689065befe31bed3fcd7dabc712db.tar.bz2
coreclr-a6c65d50b68689065befe31bed3fcd7dabc712db.zip
Updates based on review comments
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/init-tools.sh b/init-tools.sh
index 79e1042f05..9b82472d09 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -6,8 +6,8 @@ __TOOLRUNTIME_DIR=$__scriptpath/Tools
__DOTNET_PATH=$__TOOLRUNTIME_DIR/dotnetcli
__DOTNET_CMD=$__DOTNET_PATH/bin/dotnet
if [ -z "$__BUILDTOOLS_SOURCE" ]; then __BUILDTOOLS_SOURCE=https://www.myget.org/F/dotnet-buildtools/; fi
-__BUILD_TOOLS_PACKAGE_VERSION=$(cat BuildToolsVersion.txt)
-__DOTNET_TOOLS_VERSION=$(cat DotnetCLIVersion.txt)
+__BUILD_TOOLS_PACKAGE_VERSION=$(cat $__scriptpath/BuildToolsVersion.txt)
+__DOTNET_TOOLS_VERSION=$(cat $__scriptpath/DotnetCLIVersion.txt)
__BUILD_TOOLS_PATH=$__PACKAGES_DIR/Microsoft.DotNet.BuildTools/$__BUILD_TOOLS_PACKAGE_VERSION/lib
__PROJECT_JSON_PATH=$__TOOLRUNTIME_DIR/$__BUILD_TOOLS_PACKAGE_VERSION
__PROJECT_JSON_FILE=$__PROJECT_JSON_PATH/project.json