-
Notifications
You must be signed in to change notification settings - Fork 382
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
toolchain: env var filtering fails with line continued environment variables #1567
Comments
can you please post the output of the following commands? cat /etc/os-release
locale |
and is this a fresh run of |
Yes it is a fresh run.
I suppose the locale warning is probably unrelated to the actual error. |
can you post the |
Ok thanks, looking deeper into the toolchain.env I found that an old cp2k-5.2 was still in the PATH variable as it was loaded as module, after removing that it seems to work now. Therefore closing this bug. ^.^ |
I had this problem when compiling within screen session.
So, simply |
ok, that explains it: we're filtering env variables (like the TERMCAP) but in our testing those vars did not contain line breaks. |
Maybe the easiest would be to replace our environment variable filtering by Or if we want to stay in the shell, doing in a subshell the following:
|
I think I was also using screen before, so this could really be the explanation. :) |
fixes cp2k#1567, obviously some shells started to use line continuations in export -p, and we broke those when using sed to filter env vars
fixes #1567, obviously some shells started to use line continuations in export -p, and we broke those when using sed to filter env vars
fixes cp2k#1567, obviously some shells started to use line continuations in export -p, and we broke those when using sed to filter env vars
fixes cp2k#1567, obviously some shells started to use line continuations in export -p, and we broke those when using sed to filter env vars
When trying to setup cp2k I get the following error:
The text was updated successfully, but these errors were encountered: