summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/process.py')
-rw-r--r--bitbake/lib/bb/process.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake/lib/bb/process.py b/bitbake/lib/bb/process.py
index 1c790658c9..f02332df9a 100644
--- a/bitbake/lib/bb/process.py
+++ b/bitbake/lib/bb/process.py
@@ -1,4 +1,3 @@
1import os
2import logging 1import logging
3import signal 2import signal
4import subprocess 3import subprocess
@@ -9,7 +8,6 @@ def subprocess_setup():
9 # Python installs a SIGPIPE handler by default. This is usually not what 8 # Python installs a SIGPIPE handler by default. This is usually not what
10 # non-Python subprocesses expect. 9 # non-Python subprocesses expect.
11 signal.signal(signal.SIGPIPE, signal.SIG_DFL) 10 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
12 os.environ['PWD'] = os.getcwd()
13 11
14class CmdError(RuntimeError): 12class CmdError(RuntimeError):
15 def __init__(self, command): 13 def __init__(self, command):