Changed dotnet stage0 to no longer pivot on OS. We just place it under dotnet_stage0/
This commit is contained in:
parent
cc1bb54f1a
commit
aebb42335c
4 changed files with 9 additions and 18 deletions
|
@ -55,17 +55,9 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
private static string GetStage0Path()
|
||||
{
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
{
|
||||
return Path.Combine(Directory.GetCurrentDirectory(), ".dotnet_stage0",
|
||||
RuntimeEnvironment.OperatingSystemPlatform.ToString(),
|
||||
RuntimeEnvironment.RuntimeArchitecture);
|
||||
}
|
||||
else
|
||||
{
|
||||
return Path.Combine(Directory.GetCurrentDirectory(), ".dotnet_stage0", RuntimeEnvironment.OperatingSystemPlatform.ToString());
|
||||
}
|
||||
|
||||
return Path.Combine(Directory.GetCurrentDirectory(),
|
||||
".dotnet_stage0",
|
||||
RuntimeEnvironment.RuntimeArchitecture);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue