We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1c728 commit 1d85dbeCopy full SHA for 1d85dbe
src/Dotnet.Script.DependencyModel/Environment/RuntimeHelper.cs
@@ -52,13 +52,14 @@ private static string GetProcessArchitecture()
52
}
53
54
public static string GetRuntimeIdentifier()
55
- {
+ {
56
var platformIdentifier = GetPlatformIdentifier();
57
- if (platformIdentifier == "osx")
+ if (platformIdentifier == "osx" || platformIdentifier == "linux")
58
{
59
return $"{platformIdentifier}-{GetProcessArchitecture()}";
60
61
- return RuntimeEnvironment.GetRuntimeIdentifier();
+ var runtimeIdentifier = RuntimeEnvironment.GetRuntimeIdentifier();
62
+ return runtimeIdentifier;
63
64
65
public static string CreateTempFolder(string targetDirectory)
0 commit comments