]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake-layers: fix bug with env vars leaking in
authorChris Larson <chris_larson@mentor.com>
Mon, 7 Feb 2011 17:58:40 +0000 (10:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Feb 2011 22:34:24 +0000 (22:34 +0000)
I forgot that bin/bitbake is what does the environment filtering based upon
BB_ENV_WHITELIST, etc.

(Bitbake rev: 2cc6b6951bd17832866ec710029d119d2df31ba4)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-layers

index 08a846be813921126a7b6a22e51b67b112aaddab..ed11e5a38656686d72f14b735d3a29ba68f375e3 100644 (file)
@@ -21,6 +21,7 @@ default_cmd = 'show_appends'
 
 def main(args):
     logging.basicConfig(format='%(levelname)s: %(message)s')
+    bb.utils.clean_environment()
 
     cmds = Commands()
     if args: