-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
too many valid shebangs #373
Comments
what is wrong with the last one? in OpenWrt we use e.g. #!/bin/sh /etc/rc.common |
That seems unlikely to be what someone intends there. Unless the rest of the original file is empty or the listed file expects this and can find and run the original file too (looks like maybe |
Some of these issues appear to have been addressed elsewhere. Shebang must be an absolute path Someone could still make a change to catch a trailing slash; eg
In the case of |
Yes it can! With this last fix, all of these have warnings, plus some other variations like Thanks for the suggestion and your patience! |
can shellcheck warn for these?
The text was updated successfully, but these errors were encountered: