From: Calvin Buckley Date: Tue, 7 Jan 2020 16:28:06 +0000 (-0400) Subject: Force Python 3.x from env in shebang lines (mono/mono#18285) X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef9df087e1765992520a718e772a270145492c79;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Force Python 3.x from env in shebang lines (mono/mono#18285) * Fix byte/string incompatiblity in Python 3 Commit migrated from https://github.com/mono/mono/commit/524a8298d0c8cda332c17a743eaed69ce78f392d --- diff --git a/src/mono/mono/mini/genmdesc.py b/src/mono/mono/mini/genmdesc.py index 79a110b..7a20260 100755 --- a/src/mono/mono/mini/genmdesc.py +++ b/src/mono/mono/mini/genmdesc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # This tool is used to generate the cpu-.h files used by the JIT. The input is the diff --git a/src/mono/mono/tests/gc-descriptors/gen-descriptor-tests.py b/src/mono/mono/tests/gc-descriptors/gen-descriptor-tests.py index 4dc0e46..bbc260b 100755 --- a/src/mono/mono/tests/gc-descriptors/gen-descriptor-tests.py +++ b/src/mono/mono/tests/gc-descriptors/gen-descriptor-tests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function from optparse import OptionParser diff --git a/src/mono/mono/tests/test_lldb.py b/src/mono/mono/tests/test_lldb.py index eb55710..0c637e6 100644 --- a/src/mono/mono/tests/test_lldb.py +++ b/src/mono/mono/tests/test_lldb.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 import os import sys