Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
View | Details | Raw Unified | Return to bug 489016 | Differences between
and this patch

Collapse All | Expand All

(-)a/pym/_emerge/MiscFunctionsProcess.py (-2 / +5 lines)
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
- 

Return to bug 489016