summaryrefslogtreecommitdiff
path: root/dotnet.sh
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2019-06-10 14:13:27 -0700
committerGitHub <noreply@github.com>2019-06-10 14:13:27 -0700
commit730c3c5c66183418adbbc63acd40d261c9ce23ed (patch)
tree6e8d98a0fffaefca0c46e9667afeeb1dc051b4dc /dotnet.sh
parent64855db283bf84e8d47cfd6d5cde4248df3e0f50 (diff)
downloadcoreclr-730c3c5c66183418adbbc63acd40d261c9ce23ed.tar.gz
coreclr-730c3c5c66183418adbbc63acd40d261c9ce23ed.tar.bz2
coreclr-730c3c5c66183418adbbc63acd40d261c9ce23ed.zip
Add source-build hook for dotnet install (#24929)
* Add source-build hook for dotnet install * Fix batch syntax * Address feedback * Use the correct returned variables: unix: _InitializeDotNetCli windows: DOTNET_TOOL_DIR * Remove changes to dotnet.cmd * Do not export, just use _InitializeDotNetCli
Diffstat (limited to 'dotnet.sh')
-rwxr-xr-xdotnet.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotnet.sh b/dotnet.sh
index 82ca63a5b8..505d9d1dc9 100755
--- a/dotnet.sh
+++ b/dotnet.sh
@@ -11,7 +11,7 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
echo "Running init-dotnet.sh"
source $working_tree_root/init-dotnet.sh
-dotnet=$working_tree_root/.dotnet/dotnet
+dotnet=${_InitializeDotNetCli}/dotnet
echo "Running: $dotnet $@"
$dotnet "$@"