Fix git-istage environment checking script (#2321)

This commit is contained in:
Francois Botha 2021-09-24 19:39:03 +02:00 committed by GitHub
parent 927f48ce8e
commit 2f5c1d61e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
"$nugetConfigFile = \"$dir\\nuget.config\"",
"$nugetConfig | Out-File -Encoding UTF8 \"$nugetConfigFile\"",
"dotnet tool install git-istage --tool-path \"$dir\" --configfile \"$nugetConfigFile\"",
"$runCommand = \"if ($env:DOTNET_ROOT -eq $null) { `$env:DOTNET_ROOT=Split-Path -Parent (Get-Command dotnet).Path } & `\"$dir\\git-istage.exe`\" `$args\"",
"$runCommand = \"if ( `$env:DOTNET_ROOT -eq `$null) { `$env:DOTNET_ROOT=Split-Path -Parent (Get-Command dotnet).Path } & `\"$dir\\git-istage.exe`\" `$args\"",
"$runCommand | Out-File -Encoding UTF8 \"$dir\\run.ps1\""
]
},