Lines 33-43
class MiscFunctionsProcess(AbstractEbuildProcess):
Link Here
|
33 |
if self._dummy_pipe_fd is not None: |
33 |
if self._dummy_pipe_fd is not None: |
34 |
self.settings["PORTAGE_PIPE_FD"] = str(self._dummy_pipe_fd) |
34 |
self.settings["PORTAGE_PIPE_FD"] = str(self._dummy_pipe_fd) |
35 |
|
35 |
|
|
|
36 |
if "fakeroot" in self.settings.features: |
37 |
kwargs["fakeroot"] = True |
38 |
|
36 |
# Temporarily unset EBUILD_PHASE so that bashrc code doesn't |
39 |
# Temporarily unset EBUILD_PHASE so that bashrc code doesn't |
37 |
# think this is a real phase. |
40 |
# think this is a real phase. |
38 |
phase_backup = self.settings.pop("EBUILD_PHASE", None) |
41 |
phase_backup = self.settings.pop("EBUILD_PHASE", None) |
39 |
try: |
42 |
try: |
40 |
return spawn(" ".join(args), self.settings, **kwargs) |
43 |
return spawn(" ".join(args), self.settings, |
|
|
44 |
**portage._native_kwargs(kwargs)) |
41 |
finally: |
45 |
finally: |
42 |
if phase_backup is not None: |
46 |
if phase_backup is not None: |
43 |
self.settings["EBUILD_PHASE"] = phase_backup |
47 |
self.settings["EBUILD_PHASE"] = phase_backup |
44 |
- |
|
|