summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake11
1 files changed, 7 insertions, 4 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 805d60102f..7c1eb5f75a 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -22,10 +22,16 @@
22# with this program; if not, write to the Free Software Foundation, Inc., 22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 24
25import sys, os, optparse 25import sys
26if sys.hexversion < 0x020600F0:
27 print "Sorry, python 2.6 or later is required for this version of bitbake"
28 sys.exit(1)
29
30import os
26sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 31sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])),
27 'lib')) 32 'lib'))
28 33
34import optparse
29import warnings 35import warnings
30import bb 36import bb
31import bb.msg 37import bb.msg
@@ -37,9 +43,6 @@ from bb.server import none
37 43
38__version__ = "1.9.0" 44__version__ = "1.9.0"
39 45
40if sys.hexversion < 0x020600F0:
41 print "Sorry, python 2.6 or later is required for this version of bitbake"
42 sys.exit(1)
43 46
44 47
45#============================================================================# 48#============================================================================#