Skip to contentSkip to conversation

bitbake: main: fix processing of BBEVENTLOG

PATCH New Ed Bartosh 1 participant 1 message Apr 19, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 bitbake: main: fix processing of BBEVENTLOG

Fixed typo that caused incorrect processing of BBEVENTLOG environment variable. Even if variable is set it was igrnored by bitbake.

---
 bitbake/lib/bb/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/main.py +1 -1
index a28c751..e302173 100755
@@ -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
Signature · 1 line
2.1.4