1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

Revert vswhere command

This commit is contained in:
Mark McDowall 2021-03-19 15:21:04 -07:00
parent ec9f62285a
commit 1d06c3fc15

View File

@ -88,7 +88,7 @@ CleanFolder()
BuildWithMSBuild()
{
msBuildPath=`$vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\\\\\*\*\\\\Bin\\\\MSBuild.exe`
msBuildPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -find MSBuild\\\\\*\*\\\\Bin\\\\MSBuild.exe`
msBuildPath=${msBuildPath/C:\\/\/c\/}
msBuildPath=${msBuildPath//\\/\/}
msBuildDir=$(dirname "$msBuildPath")