Skip to content

Commit db0d37a

Browse files
committed
Fix environment variable casing
1 parent 503100d commit db0d37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/installer/tests/TestUtils/CommandExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static Command DotNetRoot(this Command command, string dotNetRoot, string
4848

4949
// If we are clearing out the variable, make sure we clear out any architecture-specific one too
5050
if (string.IsNullOrEmpty(dotNetRoot))
51-
command = command.EnvironmentVariable($"{Constants.DotnetRoot.ArchitectureEnvironmentVariablePrefix}{TestContext.BuildArchitecture}", dotNetRoot);
51+
command = command.EnvironmentVariable($"{Constants.DotnetRoot.ArchitectureEnvironmentVariablePrefix}{TestContext.BuildArchitecture.ToUpperInvariant()}", dotNetRoot);
5252

5353
return command
5454
.EnvironmentVariable(Constants.DotnetRoot.EnvironmentVariable, dotNetRoot)

0 commit comments

Comments
 (0)