Use /usr/bin/env python3 shebang

This commit is contained in:
Rémi Verschelde 2020-10-13 14:55:07 +02:00
parent 331653f9c3
commit 210f65f97a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
12 changed files with 13 additions and 15 deletions

View File

@ -10,9 +10,9 @@ This repository contains scripts for building the Mono runtime to use with Godot
These scripts are based on the Mono [sdks](https://github.com/mono/mono/tree/master/sdks) makefiles, with some changes to work well with Godot. Some platforms or targets depend on files from the `sdks` directory in the Mono source repository. This directory may be missing from tarballs. If that's the case, cloning the git repository may be needed. [This table](https://www.mono-project.com/docs/about-mono/versioning/#mono-source-versioning) can be used to determine the branch for a specific version of Mono.
Some patches need to be applied to the Mono sources before building. This can be done by running `python ./patch_mono.py`.
Some patches need to be applied to the Mono sources before building. This can be done by running `python3 ./patch_mono.py`.
Run `python SCRIPT.py --help` for the full list of command line options.
Run `python3 SCRIPT.py --help` for the full list of command line options.
By default, the scripts will install the resulting files to `$HOME/mono-installs`.
A custom output directory can be specified with the `--install-dir` option.

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import os
import os.path

3
bcl.py
View File

@ -1,5 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python
#!/usr/bin/env python3
import os
import os.path

2
ios.py
View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import os
import os.path

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
from desktop import run_main

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import os
import sys

2
osx.py
View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
from desktop import run_main

View File

@ -1,5 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
def main(raw_args):
import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
def main(raw_args):

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import os
import os.path

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
from desktop import run_main