summaryrefslogtreecommitdiffstats
path: root/meta
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 18:02:00 +0000
commitfafc87112e904d4ac0106d5fc791df3534325821 (patch)
treecb3986c08127a2a985b262abb3a57a316a4bf96f /meta
parentda6c266b1184eed8b1bc851f24a9ee17ab56d562 (diff)
downloadpoky-fafc87112e904d4ac0106d5fc791df3534325821.tar.gz
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. (From OE-Core rev: cb3b046450b47739daf441a0b964823aff2472e6) 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')
-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:
99 objdump = d.getVar('OBJDUMP', True) 99 objdump = d.getVar('OBJDUMP', True)
100 staging_dir = d.getVar('STAGING_BINDIR_TOOLCHAIN', True) 100 staging_dir = d.getVar('STAGING_BINDIR_TOOLCHAIN', True)
101 101
102 env = os.environ 102 env = os.environ.copy()
103 env["LC_ALL"] = "C" 103 env["LC_ALL"] = "C"
104 104
105 try: 105 try: