Changed dotnet stage0 to no longer pivot on OS. We just place it under dotnet_stage0/

This commit is contained in:
Livar Cunha 2016-07-05 16:28:00 -07:00
parent cc1bb54f1a
commit aebb42335c
4 changed files with 9 additions and 18 deletions

View file

@ -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);
}
}
}