Uh oh!
There was an error while loading. Please reload this page.
Use more convenient and UNIX-agnostic shebang - #45957
Conversation
shepmaster
commented
Nov 18, 2017
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. |
shepmaster
commented
Nov 18, 2017
Can you explain a bit more about why you want to make this change? |
dereckson
commented
Nov 19, 2017
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. |
shepmaster
commented
Nov 19, 2017
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 |
shepmaster
commented
Dec 1, 2017
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
a4b4a73Comparedereckson
commented
Dec 2, 2017
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:
|
shepmaster
commented
Dec 2, 2017
LGTM! @bors r+ rollup |
bors
commented
Dec 2, 2017
📌 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.