Skip to content

Avoid no-op changes to $LD_* environment variables in ModulesTool#3553

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:less_path_changes_in_modules_tool
Feb 14, 2021
Merged

Avoid no-op changes to $LD_* environment variables in ModulesTool#3553
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:less_path_changes_in_modules_tool

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

LD_ENV_VAR_KEYS variables are set and restore prior and after running any module command. Often they don't have any change leading to many messages like:

INFO Environment variable LD_LIBRARY_PATH set to (previous value: '')

This just clutters the log without any benefit.
This change skips such messages and changes

LD_ENV_VAR_KEYS variables are set and restore prior and after running
any module command. Often they don't have any change leading to many
messages like:
> INFO Environment variable LD_LIBRARY_PATH set to <long value> (previous value: '<same value>')

This just clutters the log without any benefit.
This change skips such messages and changes
@boegel boegel added this to the release after 4.3.3 milestone Feb 3, 2021
@boegel boegel changed the title Avoid no-op path changes in ModulesTool Avoid no-op changes to $LD_* environment variables in ModulesTool Feb 14, 2021
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel boegel removed the change label Feb 14, 2021
@boegel boegel merged commit 9487d0e into easybuilders:develop Feb 14, 2021
@Flamefire Flamefire deleted the less_path_changes_in_modules_tool branch February 14, 2021 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants