summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 3e1ca6286c..88ac8c34ca 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -35,7 +35,11 @@ except RuntimeError as exc:
35from bb import cookerdata 35from bb import cookerdata
36from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException 36from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
37 37
38__version__ = "1.27.0"
39
38if __name__ == "__main__": 40if __name__ == "__main__":
41 if __version__ != bb.__version__:
42 sys.exit("Bitbake core version and program version mismatch!")
39 try: 43 try:
40 ret = bitbake_main(BitBakeConfigParameters(sys.argv), 44 ret = bitbake_main(BitBakeConfigParameters(sys.argv),
41 cookerdata.CookerConfiguration()) 45 cookerdata.CookerConfiguration())