mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
Fix git-istage environment checking script (#2321)
This commit is contained in:
parent
927f48ce8e
commit
2f5c1d61e6
@ -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\""
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user