summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 0f4ff88171..6d74e5b85d 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -155,13 +155,13 @@ Default BBFILES are the .bb files in the current directory.""" )
155 bb.utils.init_logger(bb.msg, configuration.verbose, configuration.debug, 155 bb.utils.init_logger(bb.msg, configuration.verbose, configuration.debug,
156 configuration.debug_domains) 156 configuration.debug_domains)
157 157
158 cooker = bb.cooker.BBCooker(configuration, server)
159
160 # Clear away any spurious environment variables. But don't wipe the 158 # Clear away any spurious environment variables. But don't wipe the
161 # environment totally. This is necessary to ensure the correct operation 159 # environment totally. This is necessary to ensure the correct operation
162 # of the UIs (e.g. for DISPLAY, etc.) 160 # of the UIs (e.g. for DISPLAY, etc.)
163 bb.utils.clean_environment() 161 bb.utils.clean_environment()
164 162
163 cooker = bb.cooker.BBCooker(configuration, server)
164
165 cooker.parseCommandLine() 165 cooker.parseCommandLine()
166 166
167 serverinfo = server.BitbakeServerInfo(cooker.server) 167 serverinfo = server.BitbakeServerInfo(cooker.server)