Skip installing dotnet on xplat

This commit is contained in:
Pranav K 2020-02-05 13:44:29 -08:00
parent 63f28f7b98
commit 2562464cf0
No known key found for this signature in database
GPG Key ID: F748807460A27E91
1 changed files with 4 additions and 1 deletions

View File

@ -316,7 +316,10 @@ restore=true
InitializeToolset
InstallDotNetSdk "$repo_root/.dotnet" "3.1.102-servicing-014873"
dotnet_install_dir="$repo_root/.dotnet"
if [[ ! -d "$dotnet_install_dir/sdk/3.1.102" ]]; then
InstallDotNetSdk "$dotnet_install_dir" "3.1.102-servicing-014873"
fi
restore=$_tmp_restore=