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

cvise.py: call shell vial /usr/bin/env indirection instead of /bin #121

Merged
merged 1 commit into from
Nov 16, 2023
Merged

cvise.py: call shell vial /usr/bin/env indirection instead of /bin #121

merged 1 commit into from
Nov 16, 2023

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Nov 15, 2023

My system (NixOS) has one well-defined shell: /bin/sh.

But normally programs use either /run/current-system/sw/bin/bash or the bash from PATH. They use /usr/bin/env for that.

The change calls shell via /usr/bin/env to use PATH lookup.

My system (`NixOS`) has one well-defined shell: `/bin/sh`.

But normally programs use either `/run/current-system/sw/bin/bash` or
the `bash` from `PATH`. They use `/usr/bin/env` for that.

The change calls shell via `/usr/bin/env` to use `PATH` lookup.
@marxin marxin merged commit 4ba39a2 into marxin:master Nov 16, 2023
10 checks passed
@marxin
Copy link
Owner

marxin commented Nov 16, 2023

Thanks for the contribution.

@trofi trofi deleted the cvise-shell-via-env branch November 16, 2023 08:22
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

Successfully merging this pull request may close these issues.

2 participants