summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index a33698c5ba..40d95b7871 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -43,9 +43,9 @@ fi
43# Similarly, we now have code that doesn't parse correctly with older 43# Similarly, we now have code that doesn't parse correctly with older
44# versions of Python, and rather than fixing that and being eternally 44# versions of Python, and rather than fixing that and being eternally
45# vigilant for any other new feature use, just check the version here. 45# vigilant for any other new feature use, just check the version here.
46py_v26_check=`python -c 'import sys; print sys.version_info >= (2,6,0)'` 46py_v26_check=`python -c 'import sys; print sys.version_info >= (2,7,3)'`
47if [ "$py_v26_check" != "True" ]; then 47if [ "$py_v26_check" != "True" ]; then
48 echo "BitBake requires Python 2.6 or later" 48 echo "BitBake requires Python 2.7.3 or later"
49 exit 1 49 exit 1
50fi 50fi
51 51