-
-
Notifications
You must be signed in to change notification settings - Fork 23
Fix shebang #72
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
Fix shebang #72
Conversation
https://github.com/infertux/bashcov/blob/master/lib/bashcov.rb#L79 Why not get bash path from |
On most OS, shebangs can only specify a single parameter.
On most OS, shebangs can only specify a single parameter.
The main issue with using I started working on it in this commit however the build is still failing. I don't have more time for this at the moment so feel free to continue the work in the |
I think it should be |
NixOS doesn't have /bin/bash. Replace it by `/usr/bin/env bash`.
Superseded by #74 |
Bashcov 3.0.3 has been released, please give it a try. |
@infertux -- the changes in this PR are still needed, I think. |
@tomeon It's only touching test files so we only need it if we want to run the test suite on NixOS. I assumed we wouldn't but now that we have GitHub Actions set up, is there a way to leverage it and run the tests under NixOS as well? |
On most OS, shebangs can only specify a single parameter.
On most OS, shebangs can only specify a single parameter.
There sure is :). I will see about adding it to the FWIW, NixOS is my distro of choice these days, so the updated shebangs are helpful for my development workflow. Anyway, better portability is better portability :). However! Switching from @Freed-Wu -- if you are a Nix flakes user, I'd be much obliged if you could check out the |
|
On most OS, shebangs can only specify a single parameter.
On most OS, shebangs can only specify a single parameter.
On most OS, shebangs can only specify a single parameter.
On most OS, shebangs can only specify a single parameter.
NixOS doesn't have /bin/bash. Replace it by
/usr/bin/env bash
.