Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not clear ENV config vars #43

Closed
wants to merge 1 commit into from
Closed

Conversation

yfyf
Copy link
Contributor

@yfyf yfyf commented Mar 20, 2013

According to the docs it is possible to configure kerl both by using .kerlrc
and passing ENV variables from the command-line, i.e.

KERL_INSTALL_MANPAGES=yes ./kerl install <build> <path>

However the ENV vars were being cleared/overriden, so you could only use .kerlrc.

This fixes it.

@yfyf
Copy link
Contributor Author

yfyf commented Mar 20, 2013

I am not some mega bash expert, but seems to work backwards compatibly just fine and now I can actually install manpages by passing the ENV variable.

According to the docs it is possible to configure kerl both by using `.kerlrc`
and passing ENV variables from the command-line, i.e.

    KERL_INSTALL_MANPAGES=yes ./kerl install <build> <path>

However the ENV vars were being cleared/overriden, so you could only use `.kerlrc`.

This fixes it.
@cstrahan
Copy link

@spawngrid Is there a reason for this not being merged?

@yfyf
Copy link
Contributor Author

yfyf commented Mar 31, 2014

Bump. Perhaps the optional parameters can be commented out instead of being deleted for more clarity on what options are available.

@yfyf
Copy link
Contributor Author

yfyf commented Mar 31, 2014

Hmmm, and maybe this approach could be used to replace all the __K-- temp variable hacks.

@jadeallenx
Copy link
Collaborator

Let's get this included after we figure out what the merge conflict is.

@sanmiguel
Copy link
Collaborator

I have now rebased this branch, and fixed a related bug (2 more env vars were missed when backing up after reading $KERL_CONFIG) on top.

I shall close this PR and submit a new one from that rebased branch.

@yfyf thanks for the contribution!

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.

None yet

4 participants