From: Ed Bartosh Date: Tue, 19 Apr 2016 13:54:39 +0000 (+0300) Subject: main: fix processing of BBEVENTLOG X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2705b5f59aef4a070e2df2752d27bd04ea747057;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git main: fix processing of BBEVENTLOG 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 Signed-off-by: Richard Purdie --- diff --git a/lib/bb/main.py b/lib/bb/main.py index a28c7514dfe..e3021736963 100755 --- a/lib/bb/main.py +++ b/lib/bb/main.py @@ -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