Skip to content

Environment variable is not being expanded in config #1075

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

Closed
Luflosi opened this issue Oct 16, 2018 · 1 comment
Closed

Environment variable is not being expanded in config #1075

Luflosi opened this issue Oct 16, 2018 · 1 comment

Comments

@Luflosi
Copy link
Contributor

Luflosi commented Oct 16, 2018

The documentation says that putting

env MYVAR1=a
env MYVAR2=${MYVAR}/${HOME}/b

into the config will set MYVAR2 to a/<path to home directory>/b. Firstly, I think MYVAR should be MYVAR1. But even with that change that, env will output these two lines (and a few others):

MYVAR1=a
MYVAR2=${MYVAR1}/${HOME}/b

This means that MYVAR1 is not being expanded.

@Luflosi
Copy link
Contributor Author

Luflosi commented Oct 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant