C#: Use system-nuget in Autobuilder when SEMMLE_PLATFORM_TOOLS is not set

This commit is contained in:
Tom Hvitved
2019-10-28 10:59:26 +01:00
parent 8839bdd688
commit 8a08038ff3

View File

@@ -37,9 +37,9 @@ namespace Semmle.Autobuild
}
var nuget =
builder.CodeQLExtractorCSharpRoot != null ?
builder.Actions.PathCombine(builder.CodeQLExtractorCSharpRoot, "tools", "nuget.exe") :
builder.Actions.PathCombine(builder.SemmlePlatformTools, "csharp", "nuget", "nuget.exe");
builder.SemmlePlatformTools != null ?
builder.Actions.PathCombine(builder.SemmlePlatformTools, "csharp", "nuget", "nuget.exe") :
"nuget";
var ret = BuildScript.Success;