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

{PERM} and {SCRATCH} expand to "" if not defined #9

Open
simondsmart opened this issue May 15, 2024 · 1 comment
Open

{PERM} and {SCRATCH} expand to "" if not defined #9

simondsmart opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@simondsmart
Copy link

What happened?

This is especially dangerous as in the yaml configs {PERM} and {SCRATCH} tend to be used at the start of the various strings, making paths now suddenly relative to the root of the filesystem.

If these environment variables are not defined, this should be an error.

What are the steps to reproduce the bug?

Include a path with {PERM} or {SCRATCH} (or the other env variable substitutions) in any of the .yaml config files.

Version

develop

Platform (OS and architecture)

any

Relevant log output

No response

Accompanying data

No response

Organisation

No response

@simondsmart simondsmart added the bug Something isn't working label May 15, 2024
@corentincarton
Copy link
Collaborator

@simondsmart, I implemented a fix in d1956e7.

@colonesej, does that seem reasonable to you or do you see a case where this check would bother us?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants