summaryrefslogtreecommitdiff
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2012-12-04 15:19:50 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-04 10:51:31 +0000
commitcb3b046450b47739daf441a0b964823aff2472e6 (patch)
treedb86b263e1df5395cefe105f36db9d65e982fab2 /meta/lib/oe
parent24b954253dd1aa626835352c4dc8d085a19aae35 (diff)
downloadopenembedded-core-cb3b046450b47739daf441a0b964823aff2472e6.tar.gz
openembedded-core-cb3b046450b47739daf441a0b964823aff2472e6.tar.bz2
openembedded-core-cb3b046450b47739daf441a0b964823aff2472e6.zip
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 <chris_larson@mentor.com> Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/qa.py2
1 files changed, 1 insertions, 1 deletions
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: