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

Unsupported shell: sh, please specify another shell via --pep582 <SHELL> #1502

Closed
cdleonard opened this issue Nov 8, 2022 · 2 comments
Closed
Labels
🐛 bug Something isn't working ❓ help wanted Extra attention is needed

Comments

@cdleonard
Copy link
Contributor

Running eval "$(pdm582 --pep)" fails containers which use non-bash shells by default, for example dash or busybox.

The generate shell code is very simple so "sh" should just be allowed.

@cdleonard cdleonard added the 🐛 bug Something isn't working label Nov 8, 2022
@frostming
Copy link
Collaborator

SGTM, can you contribute the code for dash and busybox?

@frostming frostming added the ❓ help wanted Extra attention is needed label Nov 9, 2022
@cdleonard
Copy link
Contributor Author

The code for bash works fine, there are no compat issues.

cdleonard added a commit to cdleonard/pdm that referenced this issue Nov 10, 2022
Signed-off-by: Leonard Crestez <cdleonard@gmail.com>
cdleonard added a commit to cdleonard/pdm that referenced this issue Nov 10, 2022
Signed-off-by: Leonard Crestez <cdleonard@gmail.com>
frostming pushed a commit that referenced this issue Nov 10, 2022
Signed-off-by: Leonard Crestez <cdleonard@gmail.com>

Signed-off-by: Leonard Crestez <cdleonard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ❓ help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants