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 Mar 15, 2024
1 parent 17e4312 commit d02ad14
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 d02ad14

Please sign in to comment.