-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Use more convenient and UNIX-agnostic shebang #45957
Conversation
I'd be against doing this in such a limited fashion, considering that we use
We do have some precedent for using
I can't really speak to how dangerous changing all of the shebangs would be though. |
Can you explain a bit more about why you want to make this change? |
The goal is to ease the testing suite on OpenBSD and other OS where bash isn't shipped by default. If we switch progressively everything to pure POSIX, we can use the scripts everywhere on the out-of-the-box OS, without having to install bash. |
I wondered if that was the underlying goal. Let's wait for a decision on #45958 then. |
Based on alexcrichton's comment:
I think it makes sense to update these, but I'd prefer that you'd update all the instances of |
Ping from triage @dereckson — will you have an opportunity to update the other references soon? |
When using bash-specific features, scripts using env to call bash are more convenient, as bash be installed in different places according the OS. Same applies for other languages' interpreters.
2d0c4c0
to
a4b4a73
Compare
Okay, so now this commit updates all the relevant shebang, ie the different bash and one python2.7 left. The only not-env shebang scripts are now:
|
LGTM! @bors r+ rollup |
📌 Commit a4b4a73 has been approved by |
…aster Use more convenient and UNIX-agnostic shebang When using bash-specific features, scripts using env to call bash are more convenient, as bash be installed in different places according the OS.
When using bash-specific features, scripts using env to call bash
are more convenient, as bash be installed in different places
according the OS.