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

clean-to.sh: more platform independent shebang #122

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

pmbittner
Copy link
Member

On NixOS, bash is not in /bin. It seems this also applies to some other OS. This solution should be more robust and be a non-breaking change.

Solution is from here.

@pmbittner pmbittner added the bug label Dec 20, 2024
@pmbittner pmbittner requested a review from skrieter December 20, 2024 18:24
@ekuiter
Copy link
Member

ekuiter commented Jan 8, 2025

This is a common pattern and generally accepted to be more portable (although there is no perfect portable solution, I fear).

@ekuiter ekuiter merged commit 7ed98d5 into main Jan 8, 2025
1 check passed
@ekuiter ekuiter deleted the shebang-fix branch January 8, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants