From: Muhammad Shakeel Date: Tue, 4 Dec 2012 10:19:50 +0000 (+0500) Subject: qa.py: Modify the env for the child process only X-Git-Tag: 2015-4~8483 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cb3b046450b47739daf441a0b964823aff2472e6;p=openembedded-core.git qa.py: Modify the env for the child process only Modified environment is only required for new subprocess to execute objdump command and not for the current process. We should only modify the copy of env to pass it on to the child. Signed-off-by: Christopher Larson Signed-off-by: Muhammad Shakeel Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 12dcd1fa49..2c51141515 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py @@ -99,7 +99,7 @@ class ELFFile: objdump = d.getVar('OBJDUMP', True) staging_dir = d.getVar('STAGING_BINDIR_TOOLCHAIN', True) - env = os.environ + env = os.environ.copy() env["LC_ALL"] = "C" try: