Skip to content

Commit

Permalink
Swap order to ldlib path env var
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfeucht committed Apr 4, 2024
1 parent cf8f6f5 commit ffb2509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private void SetEnvironmentVariables()
var ldLibPath = Environment.GetEnvironmentVariable(LdLibEnvVariable);
if (string.IsNullOrEmpty(ldLibPath) || !ldLibPath.Contains(LdLibValue))
{
var newValue = string.IsNullOrEmpty(ldLibPath) ? LdLibValue : $"{ldLibPath}:{LdLibValue}";
var newValue = string.IsNullOrEmpty(ldLibPath) ? LdLibValue : $"{LdLibValue}:{ldLibPath}";
logger.LogDebug("Setting {LdLibEnvVariable} to {LdLibValue} ", LdLibEnvVariable, newValue);
Environment.SetEnvironmentVariable(LdLibEnvVariable, newValue);
}
Expand Down

0 comments on commit ffb2509

Please sign in to comment.