diff --git a/README.md b/README.md index f0ef2b2..c35b94c 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/android.py b/android.py index 0bb96c3..d1a68ef 100755 --- a/android.py +++ b/android.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import os import os.path diff --git a/bcl.py b/bcl.py index 5a3cc1d..7181e1b 100755 --- a/bcl.py +++ b/bcl.py @@ -1,5 +1,4 @@ -#!/usr/bin/python -#!/usr/bin/python +#!/usr/bin/env python3 import os import os.path diff --git a/ios.py b/ios.py index 121fdeb..eb4231a 100755 --- a/ios.py +++ b/ios.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import os import os.path diff --git a/linux.py b/linux.py index d4de370..b136fe4 100755 --- a/linux.py +++ b/linux.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from desktop import run_main diff --git a/llvm.py b/llvm.py index 47e228f..a79c759 100755 --- a/llvm.py +++ b/llvm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import os import sys diff --git a/osx.py b/osx.py index 26ce9e4..f484dfc 100755 --- a/osx.py +++ b/osx.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from desktop import run_main diff --git a/patch_emscripten.py b/patch_emscripten.py index 56f3cef..4bccfa5 100755 --- a/patch_emscripten.py +++ b/patch_emscripten.py @@ -1,5 +1,4 @@ -#!/usr/bin/python - +#!/usr/bin/env python3 def main(raw_args): import os diff --git a/patch_mono.py b/patch_mono.py index 63a8364..cd7ea5e 100755 --- a/patch_mono.py +++ b/patch_mono.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 def main(raw_args): diff --git a/reference_assemblies.py b/reference_assemblies.py index 9d2b774..ad25e1d 100755 --- a/reference_assemblies.py +++ b/reference_assemblies.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import sys diff --git a/wasm.py b/wasm.py index 139d527..a72e5de 100755 --- a/wasm.py +++ b/wasm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import os import os.path diff --git a/windows.py b/windows.py index 13b3d67..d1e5c1c 100755 --- a/windows.py +++ b/windows.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from desktop import run_main