]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: main: fix processing of BBEVENTLOG
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 19 Apr 2016 13:54:39 +0000 (16:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 16:31:01 +0000 (17:31 +0100)
Fixed typo that caused incorrect processing of BBEVENTLOG
environment variable. Even if variable is set it was ignored
by bitbake.

(Bitbake rev: 2705b5f59aef4a070e2df2752d27bd04ea747057)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/main.py

index a28c7514dfe3d129dfc1ac99e07f5f5c832703a7..e30217369635d66637f76d630dd503a1f084ecfa 100755 (executable)
@@ -247,7 +247,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
         if "BBTOKEN" in os.environ:
             options.xmlrpctoken = os.environ["BBTOKEN"]
 
-        if "BBEVENTLOG" is os.environ:
+        if "BBEVENTLOG" in os.environ:
             options.writeeventlog = os.environ["BBEVENTLOG"]
 
         # fill in proper log name if not supplied