Force Python 3.x from env in shebang lines (mono/mono#18285)
authorCalvin Buckley <calvin@cmpct.info>
Tue, 7 Jan 2020 16:28:06 +0000 (12:28 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 7 Jan 2020 16:28:06 +0000 (17:28 +0100)
* Fix byte/string incompatiblity in Python 3

Commit migrated from https://github.com/mono/mono/commit/524a8298d0c8cda332c17a743eaed69ce78f392d

src/mono/mono/mini/genmdesc.py
src/mono/mono/tests/gc-descriptors/gen-descriptor-tests.py
src/mono/mono/tests/test_lldb.py

index 79a110b..7a20260 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # This tool is used to generate the cpu-<ARCH>.h files used by the JIT. The input is the
index 4dc0e46..bbc260b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 from optparse import OptionParser
index eb55710..0c637e6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
 
 import os
 import sys