Skip to content

Conversation

@mboisson
Copy link
Contributor

With the feature introduced in PR #2878, it can break some scripts, because the arguments following the command are passed as a single argument. This is fixed in recent env by providing the option -S. This is however not available on all operating systems. Notably, the /usr/bin/env provided by CentOS7 does not support that.

This PR makes this a configuration option that sites can use to point to a different env command and optionally specify the -S argument if supported by their OS.

@boegel boegel added this to the next release (4.3.4?) milestone Mar 16, 2021
Copy link
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

Copy link
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.

@mboisson Test problem is fixed with ComputeCanada#24

pass custom env command in test_fix_shebang via --env-for-shebang command line option
@boegel boegel merged commit 4038b80 into easybuilders:develop Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants