]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
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:30:44 +0000 (17:30 +0100)
Fixed typo that caused incorrect processing of BBEVENTLOG
environment variable. Even if variable is set it was ignored
by bitbake.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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