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>
This commit is contained in:
Muhammad Shakeel authored and Richard Purdie committed 2012-12-04 18:02:00 +00:00
1 parent da6c266b11
commit fafc87112e
1 file changed
+1 -1
+1 -1
View File
@@ -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: