diff options
-rwxr-xr-x | scripts/oe-buildenv-internal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 8cbe34669d..c62688fbd2 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal | |||
@@ -32,12 +32,12 @@ fi | |||
32 | # We potentially have code that doesn't parse correctly with older versions | 32 | # We potentially have code that doesn't parse correctly with older versions |
33 | # of Python, and rather than fixing that and being eternally vigilant for | 33 | # of Python, and rather than fixing that and being eternally vigilant for |
34 | # any other new feature use, just check the version here. | 34 | # any other new feature use, just check the version here. |
35 | py_v34_check=$(python3 -c 'import sys; print(sys.version_info >= (3,4,0))') | 35 | py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))') |
36 | if [ "$py_v34_check" != "True" ]; then | 36 | if [ "$py_v35_check" != "True" ]; then |
37 | echo >&2 "BitBake requires Python 3.4.0 or later as 'python3'" | 37 | echo >&2 "BitBake requires Python 3.5.0 or later as 'python3'" |
38 | return 1 | 38 | return 1 |
39 | fi | 39 | fi |
40 | unset py_v34_check | 40 | unset py_v35_check |
41 | 41 | ||
42 | if [ -z "$BDIR" ]; then | 42 | if [ -z "$BDIR" ]; then |
43 | if [ -z "$1" ]; then | 43 | if [ -z "$1" ]; then |