From 2f5c1d61e659ca7dfc239eeaebf615adfbb70e12 Mon Sep 17 00:00:00 2001 From: Francois Botha Date: Fri, 24 Sep 2021 19:39:03 +0200 Subject: [PATCH] Fix git-istage environment checking script (#2321) --- bucket/git-istage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/git-istage.json b/bucket/git-istage.json index dd5451e559..f4dec30723 100644 --- a/bucket/git-istage.json +++ b/bucket/git-istage.json @@ -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\"" ] },