diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2012-12-04 15:19:50 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-04 18:02:00 +0000 |
commit | fafc87112e904d4ac0106d5fc791df3534325821 (patch) | |
tree | cb3986c08127a2a985b262abb3a57a316a4bf96f | |
parent | da6c266b1184eed8b1bc851f24a9ee17ab56d562 (diff) | |
download | poky-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>
-rw-r--r-- | meta/lib/oe/qa.py | 2 |
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: |