Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commitb095aa9
committed
Use more compatible hashbangs
This adds a #! line to the top of setup.py, because it is a scriptwith the executable bit set. Although neither recent nor currentdocumentation in the project recommends to run "./setup.py", thisshould probably have the intuitive effect of attempting to run thescript with a Python interpreter rather than a Unix-style shell.It also uses the "env trick" in init-tests-after-clone.sh so thatscript runs with whatever bash interpreter is found in a normalPATH search. While "sh" is expected to be found in /bin on allUnix-like systems, that is not always the case for "bash". Thischange slightly improves compatibility by supporting systems thatdon't ship with bash but on which it has been installed.1 parent72e48aa commitb095aa9
2 files changed
+7
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 |
| |
3 | 5 |
| |
4 |
| - | |
| 6 | + | |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
16 |
| - | |
| 18 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 | 4 |
| |
3 | 5 |
| |
|
0 commit comments
Comments
(0)